-
-
Notifications
You must be signed in to change notification settings - Fork 7k
java memory options not working. #2358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just found out, that launch4j can be configured with a l4j.ini file. Must be in the same directory as the executable. Here you can define parameters.
see http://launch4j.sourceforge.net/docs.html#Additional_jvm_options |
Still having the same issue with 1.6.0. Windows 7 64bit 16gb RAM. Can't use any of the Open/Sketchbook/Examples options. Always get: Executing this from the command line instead of running the loader solves the issue: |
Arduino-PR-2712-BUILD-197 resolves the heap space issue when attempting to load Sketch. It doesn't read the memory setting in the preferences.txt file, however it does work with the arduino.l4j.ini file. |
Due to some testing of issue #2233 i try to set some other memory parameters for the java vm. (-Xms and -Xmx...)
As i can see in the preference.txt file, it's possible to set an option part as i can set initial and max memory for the vm.
There are 2 preferences.txrt files. One in the arduino install directory (which seem's to be the default one) and one in /AppData/Roaming/Arduino15/. But both will not work in any case. I have tried many different options, run.options.memory=false or run.options.memory=true
run.options= or run.options=-Xms256m -Xmx1024m but nothing changes the default behavier with -Xms128m and -Xmx128m...
The text was updated successfully, but these errors were encountered: