diff --git a/platform/core-impl/src/com/intellij/util/SofterReference.java b/platform/core-impl/src/com/intellij/util/SofterReference.java index e15ef2ccabff..feef3ad5fc8d 100644 --- a/platform/core-impl/src/com/intellij/util/SofterReference.java +++ b/platform/core-impl/src/com/intellij/util/SofterReference.java @@ -37,7 +37,6 @@ public class SofterReference { @SuppressWarnings("UnusedDeclaration") private static LowMemoryWatcher ourWatcher = LowMemoryWatcher.register(new Runnable() { @Override public void run() { - System.out.println("SofterReference.run: " + ourRegistry.size()); for (SofterReference reference : ourRegistry.copyAndClear()) { reference.weaken(); } diff --git a/platform/util/src/com/intellij/openapi/util/LowMemoryWatcher.java b/platform/util/src/com/intellij/openapi/util/LowMemoryWatcher.java index 57810812d1d7..d7665efbf492 100644 --- a/platform/util/src/com/intellij/openapi/util/LowMemoryWatcher.java +++ b/platform/util/src/com/intellij/openapi/util/LowMemoryWatcher.java @@ -52,7 +52,6 @@ public class LowMemoryWatcher { ((NotificationEmitter)ManagementFactory.getMemoryMXBean()).addNotificationListener(new NotificationListener() { public void handleNotification(Notification n, Object hb) { if (MemoryNotificationInfo.MEMORY_THRESHOLD_EXCEEDED.equals(n.getType()) || MemoryNotificationInfo.MEMORY_COLLECTION_THRESHOLD_EXCEEDED.equals(n.getType())) { - System.out.println(n.getType()); for (LowMemoryWatcher watcher : ourInstances) { try { watcher.myRunnable.run();