RE: malloc and swap space

1998-11-09 Thread Michel Juillard
shaleh writes > 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. > OK, thanks, so let me reword it: what would cause the kernel (2.0.34) to refuse to allocate swap space and tri

RE: malloc and swap space

1998-11-09 Thread Shaleh
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 eg

malloc and swap space

1998-11-09 Thread Michel Juillard
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 librarie