[Top][All Lists]

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

Re: Malloc can not allocate memory

From: Wolfram Gloger
Subject: Re: Malloc can not allocate memory
Date: Sun, 19 Jan 2003 10:36:19 +0100 (MET)

> I have a problem, where malloc() can not allocate memory, while I know it
> is physically available on the system (I consume about 780 MB out of 2GB).
> This is reported by both NULL pointer and errno variable.

What glibc version?  (Please only use glibc-2.2.5 or later.)
How large is the chunk that you are trying to allocate and which fails?
Is 780MB the total size handed out to the application, including
mmap()ed chunks?  (There may be much more memory actually allocated
Please send the content of /proc/<pid>/maps when the problem occurs.
(Though I may not be able to reply over the next few days.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]