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.
Created attachment 94299 [details] NB project that illustrate the problem I detected something that looks like a memory leak when I use "Script (run in command line)" in the "Run configuration"). Each time I run my project, the "netbeans.exe" process grows and never return to its "normal" size after script finish. So, after 10 or 20 runs, it takes more than 1.5GB and makes Windows crash (I get the famous blue screen).
My configuration : Product Version: NetBeans IDE 6.8 (Build 200912041610) Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13 System: Windows Vista version 6.0 running on x86; Cp1252; fr_FR (nb) Userdir: C:\Users\ludovic\.netbeans\6.8 PHP : PHP 5.3.1 (cli) (built: Nov 19 2009 09:49:51)
If you run the script for e.g. 10 times, do you see any memory increase in the memory toolbar (in NetBeans)? Personally, I cannot reproduce but I'm on Linux, maybe it's Windows specific? Filipe, try to reproduce on Windows, thanks a lot. Product Version: NetBeans IDE Dev (Build 100224-a092e40d1324) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01 System: Linux version 2.6.31-19-generic running on amd64; UTF-8; cs_CZ (nb)
The memory toolbar in NetBeans stays about 50MB all the time. But in the Windows task manager the "netbeans.exe" process takes more ant more memory. It seems to be Windows specific because I cannot reproduce on my Linux too (Ubuntu 9.10).
Reporter, please, close NB, try to remove file (move it somewhere else and then later return it back): /netbeans/ide/modules/org-netbeans-modules-extexecution-destroy.jar and start NB, try to run your script - does it help or not? Thanks.
There is no memory increase in this case :-)) I tested with 20 runs.
Reassigning, have a look at the comments, memory consumption seems to be caused by org-netbeans-modules-extexecution-destroy.jar. Thanks.
I was able to reproduce only on Vista (or for win XP platform allocated memory increase had to be very low). In my system it was 7-8 MB increase per single run. Will discuss with Koshuke (author of winp).
Fixed in web-main 1fd5ed53598b. Please verify.
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1fd5ed53598b User: Petr Hejl <phejl@netbeans.org> Log: #180915 Memory leak when I use the "Script (run in command line)" mode
Everything seems to be ok for me : Product Version: NetBeans IDE 6.9 (Build 201006101454) Java: 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01 System: Windows Vista version 6.0 running on x86; Cp1252; fr_FR (nb) Userdir: C:\Users\ludovic\.netbeans\6.9 Sorry for this late feedback...