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.
[nb_beta2](200409091800), [jdk1.5.0](rc) Used memory size rises during Refresh Folder with 50/100 java files ~400 kB per refresh (see attached results xml file ) Steps to reproduce: ------------- 1. Expand empty package 2. Create 50 / 100 java files in the expanded package externaly 3. Push Refresh Folder from popup menu on the package with 50 java files EXPECTED RESULT: Package is refreshed and all nodes under are visible within 1000 ms. -------------- Test case : http://www.netbeans.org/source/browse/performance/test/qa-functional/src/gui/action/RefreshFolder.java For more details see issue 49230.
Created attachment 17728 [details] deltas (current memory size - minimal memory size) = leak
There are JavaDataObject instances created always for the newly created (copied) 100 files. And a bunch of other objects bound to it. See the attached screenshot. So this is a leak. The same 100 java files are repeatedly recreated in the same path and thus either the old JDOs should be reused for them or the old JDOs should be GCed. -> java team
Created attachment 17859 [details] List of leaked instances
Openide is responsible for creating DOs and maintaining their uniqueness. Reassigning to openide.
Sorry but can't reproduce (custom build, 20041001). The only JDOs ever created are for the first time copied files. All subsequent rewrites/refreshes just trigger notifyFileChanged, without any leaking. If it leaks during measurement, there is probably something wrong with the measurement.
verified/closed