From: "Dan Maas" <dmaas@dcine.com>
To: <adam-dated-1007982419.3acea7@flounder.net>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Maximum heap size?
Date: Wed, 5 Dec 2001 15:34:54 -0500 [thread overview]
Message-ID: <03c201c17dcc$4e14c930$1a01a8c0@allyourbase> (raw)
In-Reply-To: <fa.g60uruv.1n5cija@ifi.uio.no> <fa.h8gf0vv.18kimh8@ifi.uio.no>
> If you are hitting a 1GB limit I would assume the jvm isn't very bright
> about its allocation of resources. You should run out at something like
> 2.5Gb of allocations. (you lose some to app and library maps)
Specifically, the jvm is probably getting memory from brk(), because brk()
only operates in the ~1GB region between 0x08000000 + epsilon (where the
executable ends) and 0x40000000 (where shared libs begin). The easiest way
to get more than 1GB is to mmap() anonymous pages (which will come from the
remaining ~2GB region between 0x40000000 and 0xBFFFFFFF). e.g. glibc will
use anonymous mmap() to fulfill large malloc() requests.
Regards,
Dan
next parent reply other threads:[~2001-12-05 20:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.g60uruv.1n5cija@ifi.uio.no>
[not found] ` <fa.h8gf0vv.18kimh8@ifi.uio.no>
2001-12-05 20:34 ` Dan Maas [this message]
2001-12-05 11:06 Maximum heap size? Adam McKenna
2001-12-05 11:26 ` Alan Cox
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='03c201c17dcc$4e14c930$1a01a8c0@allyourbase' \
--to=dmaas@dcine.com \
--cc=adam-dated-1007982419.3acea7@flounder.net \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox