Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging a Java bus error



Bill Janssen wrote:

Sure enough, if I run with -Xmx900m, my program runs to completion.

BTW, your earlier post with the -verbose:gc logs lead me to think a 900 MB heap-max is more than enough. All the collections showed the heap size well under 900 MB.


Also, if this has to be coresident with Python and PyLucene in a 32- bit process, I don't know how well a 900 MB heap is going to float when the other passengers get on the boat.

It might be worthwhile doing a little heap-max optimization, say between 512 MB and 900 MB, while processing your worst-case data- sets. The JMX facility is a pretty good way of observing heap usage.

On reclaiming BufferedImage non-heap space, see:
  http://lists.apple.com/archives/java-dev/2006/Mar/msg00388.html

It's from 2 years ago, so may not be relevant, or flush() could be useful.

  -- GG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.