<div dir="ltr"><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">> > +PrintHeapAtGC -XX:+PrintHeapAtGCExtended .</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">

</div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div>Does it print only on Full GC or any GC? Any gc might be an overkill.<div><br></div><div>> 
<span style="font-family:arial,sans-serif;font-size:13px">You want that probably:</span><br style="font-family:arial,sans-serif;font-size:13px">> <a href="https://bugs.openjdk.java.net/browse/JDK-8038487" target="_blank" style="font-family:arial,sans-serif;font-size:13px">https://bugs.openjdk.java.net/browse/JDK-8038487</a></div>

<div><br></div><div>I cannot comment (didn't find a way to register as user) on that entry but you could add a comment on my behalf that 
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> "continuous parallel compaction" </span> would be nice.<br><div><br></div><div>**<br>Martin</div><div><br><div class="gmail_extra"><br>

<br><div class="gmail_quote">2014-07-16 9:51 GMT+03:00 Thomas Schatzl <span dir="ltr"><<a href="mailto:thomas.schatzl@oracle.com" target="_blank">thomas.schatzl@oracle.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<div><br>
On Wed, 2014-07-16 at 09:41 +0300, Martin Makundi wrote:<br>
> Hi!<br>
><br>
</div><div>> I am not sure what's my issue, but according to logs the humongous<br>
> object size varies... usually it's the larger ones that hit the fan<br>
> unless the region size is too large to start with. I tried 16m and it<br>
> seemed to make itworse, tried couple more values here and there and 5M<br>
> seems to work quite nicely.<br>
<br>
</div>4M I guess (it does not matter).<br>
<div>><br>
> I suspect it's fragmentation issue, because most often Full GC occurs<br>
> at 60-70% total heap used while the humongous object size is only 0,1%<br>
> of the total heap size.<br>
><br>
><br>
> So I suspect something like "continuous parallel compaction" could<br>
> solve my issue?<br>
<br>
</div>You want that probably:<br>
<a href="https://bugs.openjdk.java.net/browse/JDK-8038487" target="_blank">https://bugs.openjdk.java.net/browse/JDK-8038487</a><br>
<div>><br>
> > You can get current region distribution information by eg. -XX:<br>
> > +PrintHeapAtGC -XX:+PrintHeapAtGCExtended .<br>
><br>
> First one I had already, will add latter one. What will these look<br>
> like on the logs, i.e., how can I search for them and look at the<br>
> particular output?<br>
><br>
</div>At the end of GC it prints for what purpose the regions are used<br>
currently per region. One region per line, so it fills up your logs.<br>
<br>
However using it you can see if the humongous allocation request of a<br>
particular size could actually fit or not. The described behavior fits<br>
the typical symptoms for that issue.<br>
<br>
Thanks,<br>
Thomas<br>
<br>
<br>
</blockquote></div><br></div></div></div><div class="gmail_extra"><br></div></div>