[bisq-network/bisq] Limit system ram to 4GB (#4048)

cd2357 notifications at github.com
Thu May 7 19:51:22 UTC 2020


Thanks for the detailed reply @ghubstan, that clarifies a lot.

> 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).

Have you tried using the `-XX:+UseG1GC` flag? According to [some reports](https://stackoverflow.com/a/40829444) it causes JavaFX to use more aggressive garbage collection, which reduces memory consumption and effectively give it back to the system.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4048#issuecomment-625462119
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200507/097f87b4/attachment.html>


More information about the bisq-github mailing list