Re: [Linux-ia64] mmap and malloc questions on IA-64 linux

From: David Mosberger <>
Date: 2002-08-02 04:09:30
>>>>> On Thu, 1 Aug 2002 09:47:37 -0700, "Olivier, JeffreyX" <> said:

  Olivier> For a shared heap size of 1.2 GB, the application runs but
  Olivier> it fails to complete.  One of the mallocs complains that it
  Olivier> the system is out of memory.

Find out why the malloc is complaining.  It could be that something
got mmap'ed relatively close to the break value.  If so, attempting a
(small) malloc might cause the break value to cross into the mmaped
area, which would cause it to fail.

To track this down, I'd recommend to look at:

	- /proc/PID/maps (where PID is the process ids of the "interesting"
	- the output of free

Hope this helps,

Received on Thu Aug 01 11:11:11 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:09 EST