Skip to content

Commit

Permalink
Merge pull request esp8266#2712 from ffissore/jvm-memory-params
Browse files Browse the repository at this point in the history
jvm memory settings update
  • Loading branch information
ffissore committed Mar 1, 2015
2 parents d1feeb5 + 3e8ebaa commit 94a2c67
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion build/macosx/template.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<key>VMOptions</key>
<array>
<string>-Xms128M</string>
<string>-Xmx256M</string>
<string>-Xmx1024M</string>
</array>

<key>MainClass</key>
Expand Down
2 changes: 2 additions & 0 deletions build/windows/launcher/arduino.l4j.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-Xms128M
-Xmx1024M
1 change: 0 additions & 1 deletion build/windows/launcher/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<minVersion>1.6.0</minVersion>
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
<opt>-Xms128m -Xmx128m</opt>
</jre>
<splash>
<file>about.bmp</file>
Expand Down
1 change: 0 additions & 1 deletion build/windows/launcher/config_debug.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 94a2c67

Please sign in to comment.