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?
Asked
Active
Viewed 626 times
2

trincot
- 317,000
- 35
- 244
- 286
-
1Do you actually want to change the values in the eclipse.ini which change the settings for Eclipse itself - or do you want to change the settings for Java programs you are running (which are elsewhere)? – greg-449 Nov 16 '18 at 16:01
-
Might be able to write a shell script that launches it and then pass the the values to the executable - not sure if they'd get over written though my whats in the eclipse.ini – JGlass Nov 16 '18 at 16:28
-
@greg-449 Yes, I want to change the settings for Eclipse itself. – Nov 16 '18 at 16:55
-
This should be possible via an override: https://github.com/snapcrafters/eclipse/pull/41 – sanmai Oct 14 '22 at 07:45
1 Answers
1
You can add the arguments if you run eclipse via the command-line:
snap run eclipse -vmargs -Xmx15g

Luis Faria
- 26
- 3