Change heap size for Eclipse installed as a snap package

686 Views Asked by At

I'm running Kubuntu 18.04.1 and have Eclipse installed as a snap package. I want to change the values of Xms and Xmx, but I can't edit /snap/eclipse/29/eclipse.ini because it is read-only. Is there a workaround?

1

There are 1 best solutions below

0
On BEST ANSWER

You can add the arguments if you run eclipse via the command-line:

snap run eclipse -vmargs -Xmx15g