mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
add memoery snapshot path to error message
GitOrigin-RevId: 0887a70854c0dbfd96eb0cd032dcb7590a0dea5a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
223a302109
commit
ef6d786cb7
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.ref;
|
||||
|
||||
import com.intellij.openapi.util.EmptyRunnable;
|
||||
@@ -155,6 +155,7 @@ public final class GCWatcher {
|
||||
Path file = Paths.get(System.getProperty("teamcity.build.tempDir", System.getProperty("java.io.tmpdir")), "GCWatcher.hprof.zip");
|
||||
MemoryDumpHelper.captureMemoryDumpZipped(file);
|
||||
|
||||
message += "\nMemory snapshot is available at " + file + "\n";
|
||||
//noinspection UseOfSystemOutOrSystemErr
|
||||
System.out.println("##teamcity[publishArtifacts '" + file + "']");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user