ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: Cache loading errors out
Date Thu, 24 Mar 2016 12:17:33 GMT
Hi Arthi,

Try to use Visual VM Memory Profiler to see the objects that fill the heap
[1]. Alternatively you can quickly build a heap histrogram ("jmap -histo
<java_process_pid>") that will show number of objects of a particular class
that are allocated.

There is a chance that your custom objects "leaked" somehow.

Next, setting Java heap to 50 GB is a wrong decision because it will lead to
enormous long GC pauses at sometime making your application unresponsive. By
setting this value you just shadowed the issue.
You can set generic VM settings and check them against your app [2].

If this issue still happens then:
- share the heap histogram or preferably Visual VM snapshot;
- GC logs. GC logs can be activated with the following properties

-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps

[1] https://visualvm.java.net/profiler.html

View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-loading-errors-out-tp3636p3667.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message