<p></p>
<p>Thanks for the detailed reply <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/ghubstan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ghubstan">@ghubstan</a>, that clarifies a lot.</p>
<blockquote>
<p>I'm sure there are leaks to find and fix, but the only firm conclusion my analysis supported was that Bisq's JVM was reserving far more resident and virtual memory at startup than the Linux JVM needs. (I could not find problems with Bisq's on-heap management.) The problem was more serious when it starts with an empty data dir, syncs the entire chain, and the JVM never gives back any memory (to the OS).</p>
</blockquote>
<p>Have you tried using the <code>-XX:+UseG1GC</code> flag? According to <a href="https://stackoverflow.com/a/40829444" rel="nofollow">some reports</a> it causes JavaFX to use more aggressive garbage collection, which reduces memory consumption and effectively give it back to the system.</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/4048#issuecomment-625462119">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNSXPQX6IYXK7MDJTO3RQMGLVANCNFSM4LFWJPGQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQV5UZH2BACWMZC2Z3RQMGLVA5CNFSM4LFWJPG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVD4WZY.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/4048#issuecomment-625462119",
"url": "https://github.com/bisq-network/bisq/pull/4048#issuecomment-625462119",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>