This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It seems object references are being maintained when running profiling for memory analysis. When the sample code (below) is ran using the "Monitor application" option it seems to consume only the nessasary memory, when ran using the "Analyze Memory useage" option it keeps consuming memory until we get "Exception in thread "Thread-284258" java.lang.OutOfMemoryError: Java heap space" while(true) { Thread ref = new Thread(new Runnable() { public void run() { System.out.println("Running Thread"); } }); ref.start(); ref = null; Thread.sleep(1); }
Already reported and fixed. Duplicate issue #95020 contains patch for NetBeans Profiler 5.5. *** This issue has been marked as a duplicate of 95020 ***