Increase Heap Size?

Hi,
Is there a way to increase the heap size on Capella?
My model seems to overload and reach the maximum sometimes and the only fix is to restart Capella.
Thanks in advance!
Reina

Hi Reina,

Yes, you can. Edit the capella.ini file located next to the Capella executable (on macOS: Capella.app/Contents/Eclipse/capella.ini), and change the -Xmx value after the -vmargs line, for example:

-vmargs
-Xmx4g

Restart Capella afterwards. The default is usually 2 GB. Pick a value that fits your machine’s RAM (keep a few GB free for the OS). If you reach the maximum again after a while, it may also be worth checking the model size and the number of open diagrams or editors, and closing the ones you don’t need.

Regards,
Stéphane

1 Like