Temporary "scratchpad" variables are not free()d until (roughly) the end of the statement. This statement never ends so each eval allocates a bit of temporary space and these never get free()d.
You can test this by making the loop only repeat a few hundred times and then put that in a bigger loop and see the memory grow initially but then level out as the hundreds of temporaries get free()d each time around the bigger loop.
But I haven't tested this theory, it just seems pretty danged likely. (:
- tye (but my friends call me "Tye")In reply to (tye)Re: eval + no warnings = no memory
by tye
in thread eval + no warnings = no memory
by gryng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |