GC overhead limit exceeded

Ben Evans benjamin.john.evans at gmail.com
Sat Jan 4 06:02:04 PST 2014


If this is a serverside application, then presumably you have at least the
minimum GC logging flags on?

-Xloggc:<pathtofile> -XX:+PrintGCDetails -XX:+PrintTenuringDistribution

I would regard these as the absolute minimum information for tools to be
able to help you - no JVM server process (and especially not one in
production) should ever run without these.

It's also worth noting that whilst VisualVM is great for getting for a feel
of an application, it has much less information to draw upon than are in
the logs (and it is, of course, point-in-time & has to be run whilst the
application is running).

Thanks,

Ben



On Sat, Jan 4, 2014 at 1:51 PM, Tal Liron <tal.liron at threecrickets.com>wrote:

> Flags are all default. I will do some VisualVM snooping and see what I can
> find.
>
>
> On 01/04/2014 06:40 PM, Ben Evans wrote:
>
>> Can you be more specific?
>>
>> What kind of errors, what are your current GC flags, etc? How have you
>> determined that you don't have a memory leak & what the correct size of
>> your working set is?, etc.
>>
>
>


More information about the nashorn-dev mailing list