From man page of "free" on Solaris 8:

The argument to free() is a pointer to  a  block  previously
allocated  by malloc(), calloc(), or realloc(). After free()
is executed, this space is made available for further  allo-
cation  by  the application, though not returned to the sys-
tem. Memory is returned to the system only upon  termination
of  the  application.

Two questions:

1. What the situation in Linux ? Is "free" returns memory to OS ?
2. If not - what the proper call to "flush" memory back to OS ?


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to