<p></p>
<p>1.7 OOME on Linux</p>
<ul>
<li>I have had a couple of OOM errors with my live Bisq instance since upgrading to tag/v1.7.0.</li>
<li>I have not had any OOM errors while testing this PR on mainnet, but my testing (mainnet) wallet is always empty, and there is no TX or trade history.</li>
</ul>
<p>Linux OS Level Profiling (Very Simple)</p>
<p>I have been doing some linux sys-level profiling to see diffs in total physical RAM usage (native + heap).  Native memory use is not shown by java heap profilers. The Linux OS memory profiler I'm using (<code>htop</code>) shows total physical mem usage (<code>RES</code>).  It includes both on-heap and off-heap (native) memory usage in 1 value.</p>
<p>Addition of periodic <code>System.gc()</code> did not reduce overall RAM usage when linux's jvm <code>MAXRam=4g</code>.  (Maybe because this 'low' MAXRam value is forcing more frequent GC, making the coded GC redundant and ignored.)</p>
<pre><code> RES RAM Mb / Tag v1.7 pre PR / MAXRam=4g / no GC opts / 3 trials
                2171
                2041
                2119

        RES RAM Mb / v1.7 PR 5609 commit 8859503 / MAXRam=4g / no GC opts / 3 trials
                2166
                2053
                2099
                
                Note: no effect from added System.gc()  
</code></pre>
<p>If you want to merge, don't wait on me.  I think Windows is the biggest worry(?), and I can't help there.<br>
But I will still do more testing and let you know what I find.</p>
<p>Today: I am going to see how it is for MAXRam=4g today, with chimp's jvm GC options.<br>
And run tests using jvm opt MAXRam=8g, with and without chimp's jvm GC options.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/5609#issuecomment-877295171">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNSJGAWBZAEDPEPTJLTTW4NLFANCNFSM475F7XPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQUDUSWM7M7EVDRXNLTW4NLFA5CNFSM475F7XPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGRFHMQY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/5609#issuecomment-877295171",
"url": "https://github.com/bisq-network/bisq/pull/5609#issuecomment-877295171",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>