<p></p>
<blockquote>
<p><em>This is a Bisq Network proposal. Please familiarize yourself with the <a href="https://docs.bisq.network/proposals.html" rel="nofollow">submission and review process</a>.</em></p>
</blockquote>

<p>Dear All,</p>
<p>I have been working on memory profiling Bisq for a few weeks and I think I have now gotten a few pointers (despite not being an expert in this area). The profile indicates that over 100 MB of memory is wasted and this number is likely a conservative estimate if further analysis is applied (for instance <strong><code>MainView.rootContainer</code></strong> which is a static property appears bloated).</p>
<p>I intend to do the following:</p>
<ol>
<li>Resolve issues of memory leaks.</li>
<li>Replace inefficient primitive arrays.</li>
<li>Fix duplicate array and variable issues.</li>
</ol>
<p>Please refer to the attached documents below.</p>
<p>Comments are welcome.</p>
<p><a href="https://github.com/bisq-network/proposals/files/4360688/heapReport-2020-03-20-16-08.pdf">heapReport-2020-03-20-16-08.pdf</a></p>
<p><a href="https://github.com/bisq-network/proposals/files/4360690/heapReport-2020-03-20-00-03.pdf">heapReport-2020-03-20-00-03.pdf</a></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/proposals/issues/199">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWADVRZRA4PGSAJL7DRIOJPJANCNFSM4LQPRBJQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNREMOTS7IDYVPK6VVTRIOJPJA5CNFSM4LQPRBJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IXBEY3Q.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/proposals/issues/199",
"url": "https://github.com/bisq-network/proposals/issues/199",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>