File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
java/src/processing/mode/java Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1123,7 +1123,11 @@ protected boolean exportApplication(File destFolder,
11231123 /// figure out run options for the VM
11241124
11251125 List <String > runOptions = new ArrayList <String >();
1126- if (Preferences .getBoolean ("run.options.memory" )) {
1126+
1127+ // set memory options, except for ARM where we're more memory-constrained compared
1128+ // to the machine the user might be building the sketch on
1129+ if (Preferences .getBoolean ("run.options.memory" ) &&
1130+ !exportVariant .equals ("armv6hf" )) {
11271131 runOptions .add ("-Xms" + Preferences .get ("run.options.memory.initial" ) + "m" );
11281132 runOptions .add ("-Xmx" + Preferences .get ("run.options.memory.maximum" ) + "m" );
11291133 }
You can’t perform that action at this time.
0 commit comments