The main change you'd commonly make is decreasing the max new gen size
on large heaps (say to 2GB) from the default of 1/3 of the heap.
IMO keeping heap dump on OOM around is a good idea in production; it
doesn't cost much (you're already screwed at the point where it starts
writing a dump, so why
On Mon, 14 Jun 2010 16:01:57 -0700 Anthony Molinaro
wrote:
AM> Now I would assume that for 'production' you want to remove
AM>-ea
AM> and
AM>-XX:+HeapDumpOnOutOfMemoryError
AM> as well as adjust -Xms and Xmx accordingly, but are there any others
AM> which should be tweaked? Is there a
"...or does it very greatly from installation to installation?"
Yes.