[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: malloc and swap space



Michel, malloc() allocates memory that is given it by the kernel.  It does not
care where it comes from.  The kernel actually does the swap allocation, not
malloc.

On 09-Nov-98 Michel Juillard wrote:
> Why would malloc work with one program and use swap space and 
> not work with an other (like egcs or emacs) and report memory 
> exhausted while there is plenty of space on swap. (The amount to 
> be allocated is quite small, 80KB, while there is 100MB of free 
> swap space).
> 
> Can it be caused by libraries (libc5 and libc6) conflict? How can I 
> check?
> 
> Maybe somebody could suggest a more appropriate discussion list.


Reply to: