Skip to content

Commit 64058b0

Browse files
committed
Add some reasonable default JVM options
OmitStackTraceInFastThrow probably means something. We use it, and IntelliJ uses it. HeapDumpOnOutOfMemoryError should be useful if people encounter more OOM problems.
1 parent fed0438 commit 64058b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/edu/wpi/grip/core/settings/ProjectSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class ProjectSettings implements Cloneable {
3232
private String deployJavaHome = "/usr/local/frc/JRE/";
3333

3434
@Setting(label = "Deploy JVM options", description = "Command line options passed to the roboRIO JVM")
35-
private String deployJvmOptions = "-Xmx50m";
35+
private String deployJvmOptions = "-Xmx50m -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError";
3636

3737
/**
3838
* Set the FRC team number. If the deploy address and NetworkTables server address haven't been manually

0 commit comments

Comments
 (0)