public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Boehm, Hans" <hans.boehm@hp.com>
To: Florian Weimer <fw@deneb.enyo.de>, Ben Keppler <bkeppler@tridentms.com>
Cc: David Daney <ddaney@caviumnetworks.com>,
	"java@gcc.gnu.org"	<java@gcc.gnu.org>
Subject: RE: FW: Garbage collection issues in GCJ
Date: Sun, 23 Jan 2011 19:12:00 -0000	[thread overview]
Message-ID: <238A96A773B3934685A7269CC8A8D0426F294CD63D@GVW0436EXB.americas.hpqcorp.net> (raw)
In-Reply-To: <87pqro7ghi.fsf@mid.deneb.enyo.de>

> From: Florian Weimer
> 
> * Ben Keppler:
> 
> > Thanks for your response.  We have been unable to find documentation
> > detailing how to change the GC configuration including knobs for
> setting
> > the max heap size.
> 
> GCJ allocates as much memory as your application needs.  I think what
> David meant was that you should change your application to put less
> data into the Java heap (either by using the C heap, or by splitting
> it into multiple processes).

But some knobs are normally available via environment variables.
See

http://gcc.gnu.org/viewcvs/trunk/boehm-gc/doc/README.environment?revision=138078&view=markup

You can impose a maximum heap size if you insist.

Hans

  reply	other threads:[~2011-01-23 19:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17 13:09 Ben Keppler
2011-01-17 17:32 ` David Daney
2011-01-17 18:57   ` Ben Keppler
2011-01-22 21:53     ` Florian Weimer
2011-01-23 19:12       ` Boehm, Hans [this message]
2011-01-24 17:45       ` David Daney
2011-01-24 17:59         ` Ben Keppler
2011-01-24 18:45           ` Hans Boehm

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=238A96A773B3934685A7269CC8A8D0426F294CD63D@GVW0436EXB.americas.hpqcorp.net \
    --to=hans.boehm@hp.com \
    --cc=bkeppler@tridentms.com \
    --cc=ddaney@caviumnetworks.com \
    --cc=fw@deneb.enyo.de \
    --cc=java@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).