Skip to content

Commit

Permalink
Remove JVM arg generating heap dump files on out of memory errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Mar 21, 2024
1 parent 4f884ce commit 01a69ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ private List<String> getJVMArgs() {
// args.add("-Xrunjdwp:server=y,transport=dt_socket,address=1044,suspend=n");
args.add("-Dlsp.completions.indentation.enable=true");
args.add("-Xmx1024m");
args.add("-XX:+HeapDumpOnOutOfMemoryError");
args.add("-XX:TieredStopAtLevel=1");

addCustomJVMArgs(args);
Expand Down
1 change: 0 additions & 1 deletion vscode-extensions/vscode-spring-boot/lib/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export function activate(context: ExtensionContext): Thenable<ExtensionAPI> {
preferJdk: true,
jvmHeap: '1024m',
vmArgs: [
'-XX:+HeapDumpOnOutOfMemoryError'
],
checkjvm: (context: ExtensionContext, jvm: commons.JVM) => {
let version = jvm.getMajorVersion();
Expand Down

0 comments on commit 01a69ba

Please sign in to comment.