Re: allocate() and free() Still Alive
- Posted by Kat <gertie at PELL.NET> Dec 04, 2000
- 476 views
On 3 Dec 2000, at 21:42, Robert Craig wrote: > Euman writes: > > In Borland C++ 5.5 there is this > > > > #include <malloc.h> > > int _heapmin(void); > > > > Releases unused heap areas. > > Thanks. > WATCOM also has _heapmin(). > The WATCOM docs say that only a block > at the very end of the heap can be freed back > to the O/S. > > I'm still not sure if this is useful enough to make it a > language or library feature. With modern virtual memory > systems, if the O/S needs more memory, it can get it > by swapping out inactive pages. I guess there would > be fewer pages to swap out. Euphoria Programming for MS-DOS Going to drop the MS-DOS part? Kat