From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] mmap and malloc questions on IA-64 linux
Date: Thu, 01 Aug 2002 18:09:30 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905878@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905877@msgid-missing>
>>>>> On Thu, 1 Aug 2002 09:47:37 -0700, "Olivier, JeffreyX" <jeffreyx.olivier@intel.com> 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"
tasks)
- the output of free
Hope this helps,
--david
next prev parent reply other threads:[~2002-08-01 18:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-01 16:47 [Linux-ia64] mmap and malloc questions on IA-64 linux Olivier, JeffreyX
2002-08-01 18:09 ` David Mosberger [this message]
2002-08-02 15:25 ` Olivier, JeffreyX
2002-08-02 21:08 ` David Mosberger
2002-08-05 15:40 ` Olivier, JeffreyX
2002-08-05 20:31 ` David Mosberger
2002-08-05 21:01 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590701905878@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.