mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Incresing max memory to 1024M.
Fixed macosx info.plist Introduced arduino.l4j.ini and arduino_debug.l4j.ini for letting users customize jvm memory settings
This commit is contained in:
parent
d1feeb5419
commit
3e8ebaad88
@ -301,7 +301,7 @@
|
||||
<option value="-Dfile.encoding=UTF-8"/>
|
||||
|
||||
<option value="-Xms128M"/>
|
||||
<option value="-Xmx256M"/>
|
||||
<option value="-Xmx1024M"/>
|
||||
|
||||
<bundledocument extensions="ino,c,cpp,h"
|
||||
icon="macosx/template.app/Contents/Resources/pde.icns"
|
||||
@ -854,12 +854,12 @@
|
||||
|
||||
<copy todir="windows/work">
|
||||
<fileset dir="windows/launcher"
|
||||
includes="about.bmp, application.ico, config.xml, config_debug.xml"/>
|
||||
includes="about.bmp, application.ico, config.xml, config_debug.xml, arduino.l4j.ini"/>
|
||||
</copy>
|
||||
<launch4j configFile="windows/work/config.xml" />
|
||||
<launch4j configFile="windows/work/config_debug.xml" />
|
||||
<delete dir="windows/work"
|
||||
includes="about.bmp, application.ico, config.xml, config_debug.xml" />
|
||||
<delete dir="windows/work" includes="about.bmp, application.ico, config.xml, config_debug.xml" />
|
||||
<copy file="windows/work/arduino.l4j.ini" tofile="windows/work/arduino_debug.l4j.ini" />
|
||||
|
||||
<!-- cygwin requires html, dll, and exe to have the +x flag -->
|
||||
<chmod perm="755">
|
||||
|
@ -81,7 +81,7 @@
|
||||
<key>VMOptions</key>
|
||||
<array>
|
||||
<string>-Xms128M</string>
|
||||
<string>-Xmx256M</string>
|
||||
<string>-Xmx1024M</string>
|
||||
</array>
|
||||
|
||||
<key>MainClass</key>
|
||||
|
2
build/windows/launcher/arduino.l4j.ini
Normal file
2
build/windows/launcher/arduino.l4j.ini
Normal file
@ -0,0 +1,2 @@
|
||||
-Xms128M
|
||||
-Xmx1024M
|
@ -32,7 +32,6 @@
|
||||
<minVersion>1.6.0</minVersion>
|
||||
<maxVersion></maxVersion>
|
||||
<jdkPreference>preferJre</jdkPreference>
|
||||
<opt>-Xms128m -Xmx128m</opt>
|
||||
</jre>
|
||||
<splash>
|
||||
<file>about.bmp</file>
|
||||
|
@ -32,7 +32,6 @@
|
||||
<minVersion>1.6.0</minVersion>
|
||||
<maxVersion></maxVersion>
|
||||
<jdkPreference>preferJre</jdkPreference>
|
||||
<opt>-Xms128m -Xmx128m</opt>
|
||||
</jre>
|
||||
<messages>
|
||||
<startupErr>An error occurred while starting the application.</startupErr>
|
||||
|
Loading…
Reference in New Issue
Block a user