<p></p>
<p>From <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/crocket/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/crocket">@crocket</a></p>
<blockquote>
<p>A few minutes after startup, bisq-desktop stops consuming a lot of CPU resource and its GUI becomes useable.<br>
But, the GUI is not nearly as responsive as firefox or brave web browser.</p>
</blockquote>
<p>A long chain sync at startup locks up the UI thread until it's done, gobbles <code>off heap memory</code>, and doesn't give it back to the OS until Bisq is shutdown.  The most impolite off heap memory usage happens when you start Bisq on a new, completely empty data directory, or when starting Bisq after an extended period of time of not running it -- it has to perform another long chain sync.</p>
<p>This is a problem I have not been able to solve.</p>
<p>The only way I know of giving the large amount of off heap memory Bisq used to sync the chain back to the OS:<br>
Shut Bisq down after a long sync is complete, then restart it.  The UI will be more responsive after starting it the 2nd time.</p>
<p>From <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/crocket/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/crocket">@crocket</a></p>
<blockquote>
<p>Are you telling me to assign more RAM to JVM?</p>
</blockquote>
<p>Don't fiddle with the jvm ram options.  I'll expain more in some of the following comments.</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/issues/4370#issuecomment-744027049">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNVXRZSBZ6DMXNPOKXTSUTPLDANCNFSM4O5NSDLQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUDRUZSW2MTTYCPPZDSUTPLDA5CNFSM4O5NSDL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRMPHKI.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/issues/4370#issuecomment-744027049",
"url": "https://github.com/bisq-network/bisq/issues/4370#issuecomment-744027049",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>