Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NetBeans Memory Leak (Was RE: IDE)




On 10-Jul-06, at 10:59 AM, Fabrizio Giudici wrote:


On Jul 10, 2006, at 16:40 , Scott Palmer wrote:

I just tried an experiment. I don't need to do any debugging in NetBeans. I actually don't need to do anything at all! If I run NetBeans and it has a project opened (the last project I was working on, I don't explicitly load the project), I can see the java process that is NetBeans consume memory at a rate of just under a megabyte a second (using 'top' in a Terminal window). The memory toolbar in NetBeans does not reflect this memory usage. After a several minutes the VMSIZE as reported by 'top' increases to over a GB and the system response grinds to a stand still.

Are you sure? I tried this with JDK 5.0 _06 and NB 5.5beta (Mac OX X 10.4.7 Intel) and apparently I couldn't reproduce (I waited a couple of minutes after launch before measuring, since at startup NB does various things, such as scanning the classpath - I believe to build some index of the files - and also the subversion plugin tries to connect to the repository and check the sync status). The VSIZE for me stays put at about 1.33G - in any case I'll keep an eye on it in the next days.

I'm using NetBeans 5.0 since 5.5 has the UI corruption issue. I'm running on a Powerbook G4 1GHz 768MB.


I think the NetBeans UI must be active and the cursor should be flashing in the editing area. When I flip another application to the foreground the memory doesn't seem to climb much.

When I launched NetBeans a few minutes ago, after the classpath scanning, RSIZE was around 170M and VSIZE was about 450M ... now RSIZE is 247M and VSIZE is 658M and I have done nothing at all in NetBeans... as I write this RSIZE has increased to 261M, VSIZE is now 671M. I haven't done anything in NeBeans other than drag the window out of the way so I could see the 'top' output.

Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >IDEs (From: "Scott Posey" <email@hidden>)
 >Re: IDEs (From: Marc Gracia Galobart <email@hidden>)
 >Re: IDEs (From: Scott Palmer <email@hidden>)
 >Re: IDEs (From: Fabrizio Giudici <email@hidden>)
 >Re: IDEs (From: Scott Palmer <email@hidden>)
 >Re: IDEs (From: mkleint <email@hidden>)
 >NetBeans Memory Leak (Was RE: IDE) (From: Scott Palmer <email@hidden>)
 >Re: NetBeans Memory Leak (Was RE: IDE) (From: Fabrizio Giudici <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.