1
0
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:
Federico Fissore 2015-02-27 11:54:16 +01:00
parent d1feeb5419
commit 3e8ebaad88
5 changed files with 7 additions and 7 deletions

View File

@ -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">

View File

@ -81,7 +81,7 @@
<key>VMOptions</key>
<array>
<string>-Xms128M</string>
<string>-Xmx256M</string>
<string>-Xmx1024M</string>
</array>
<key>MainClass</key>

View File

@ -0,0 +1,2 @@
-Xms128M
-Xmx1024M

View File

@ -32,7 +32,6 @@
<minVersion>1.6.0</minVersion>
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
<opt>-Xms128m -Xmx128m</opt>
</jre>
<splash>
<file>about.bmp</file>

View 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>