Re: Release memory?
- Posted by rolf.schroeder at desy.de Sep 19, 2002
- 547 views
Derek Parnell wrote: > ... > Each time a Euphoria program need more memory for a sequence operation, the > memory is taken from the program's heap, but if the heap is not large enough > the program grabs a bit more RAM from the operating system (thus increasing > the size of th eprogram's heap), and the heap is not returned until the > program ends. > > This also applies to allocate() and allocate_string() calls. > Derek, I'm not sure if this really is true. I run lots of EU-programs on a WinNT machine, and when I watch the memory consumption of each program, then I watch during one inner program loop increasing and decreasing memory consumption which means in my opinion that memory is returned to the OS (I don't use allocate() and free()). But the true expert (about the lots of experts on the list) is Rob. Rob? Nave a nice day, Rolf