Bisq: Bisq taking more than 2GB of memory during startup

Created on 18 Oct 2019  路  9Comments  路  Source: bisq-network/bisq

I can see that during the syncing to Bitcoin network the Java process listed in my system manager takes more than 2GB of memory, and that doesn't go down after the application is fully initialized

That makes my desktop hang for a long time, as I have only 8GB of RAM here

The operating system is Manjaro KDE x64

bug investigation gui critical priority usability

Most helpful comment

Same on Windows. This is a major flaw for a small app like this one.

All 9 comments

Same on Windows. This is a major flaw for a small app like this one.

It seems like minimizing the application during startup prevents memory usage from rising that much

Still takes quite a bit of RAM, but my system does not hang

I just ran out of RAM on my dev-machine. 32GB+4GB swap. Here is a visualvm dump of my always-on bisq.

Screenshot from 2019-11-25 12-35-09

There seems to be a lot of javafx-related stuff taking and keeping a lot of memory. Can anybody investigate the GUI RAM requirements and how to lower them?

@freimair Maybe that is related: https://github.com/bisq-network/bisq/issues/3677

Is that Mesa fix related? https://gitlab.freedesktop.org/mesa/mesa/issues/2270

My personal machine uses radeon graphics with the Mesa drives, but I've saw simular issues in a Nvidia System

hm that is tricky. I, for starters, cannot reproduce the issue - not at all.

My system is a desktop configuration:

  • Intel 8th-gen core processor
  • plenty of RAM
  • Intel Corporation UHD Graphics 630
  • Arch linux

here is my first minute of a bisq startup profiled:
Screenshot from 2020-02-27 12-48-45

and here is the trace with the old trusty laptop

  • Intel Core 2 Duo CPU
  • 4 GB of RAM
  • Nvidia Corporation G98M [Quadro NVS 160M] (rev a1)
  • Arch linux

Bildschirmfoto von 2020-02-27 13-46-24

@AnCaPepe can you provide a JProfiler trace like the one's above to document the issue?

@ghubstan had some success with adding -XX:MaxRAM=2147483648 to the java opts and I can confirm that doing that limits the RAM usage to under 2GB, even after days of always-on.

Can you try that?

Can you try out the recommendations at https://github.com/bisq-network/bisq/issues/3918#issuecomment-607198677 ?

Was this page helpful?
0 / 5 - 0 ratings