<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 11 Oct 2016, at 8:42, Heiko W.Rupp wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">Hey,</p>
<p dir="auto">tl;dr: we need to investigate heap usage - especially in the case of compression<br>
kicking in - it looks like there could be a memory leak. Compression timing seems<br>
mostly ok.</p>
</blockquote>
<p dir="auto">Looks like we are making some progress</p>
<ul>
<li>metric forwarding to alerts seems to do some memory-wise
heavy work, that can be reduced (hwkmetrics-507 and -508 and hawkular-1130 iirc)</li>
<li>internal hsqldb uses a lot of memory
<ul>
<li>that is "only" a developer concern</li>
</ul></li>
<li>using postgres does not exhibit the memory usage for caching as does hsqldb, but
<ul>
<li>the postgres driver in inventory (v...1201) seems to use finalizers too much
<ul>
<li>we are investigating to use a newer driver that may perform better</li>
</ul></li>
</ul></li>
</ul>
<p dir="auto">I just replaced in a local copy inventory 0.20 with 0.19.3 and this seems to be<br>
smoother sailing - a lot less finalizers that also hold less memory.</p>
<p dir="auto">I did try to run with -XX:+UseStringDeduplication which requires -XX:+UseG1GC, but<br>
according to MAT it did not have an effect for me. We may want to look into <br>
string interning for the future like we did in JON.</p>
</div>
</div>
</body>
</html>