FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans Java on Mac OS 10.6.1 snow leopard appears to have a memory leak?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
michaelglass



Joined: 03 Nov 2009
Posts: 3
Location: New York, NY

PostPosted: Tue Nov 03, 2009 8:45 pm    Post subject: Netbeans Java on Mac OS 10.6.1 snow leopard appears to have a memory leak? Reply with quote

Hey there. Been running Netbeans 6.7.1 (Java version) on Mac 10.6.1. Every few hours Netbeans runs out of memory (512mb). I manually set my netbeans.conf as follows:

netbeans_default_options="-J-Dorg.glassfish.v3.installRoot=/Applications/NetBeans/sges-v3-prelude -J-Dcom.sun.aas.installRoot=/Applications/NetBeans/SUNWappserver -J-Dorg.glassfish.v3.installRoot=/Applications/NetBeans/sges-v3-prelude -J-Dcom.sun.aas.installRoot=/Applications/NetBeans/SUNWappserver -J-Dapple.awt.graphics.UseQuartz=true -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-XX:+HeapDumpOnOutOfMemoryError -J-Xmx1024m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled"

Same problem: Netbeans starts out using ~80mb of heap and that steadily grows until it hits its limit (has grown to over 1gb / I restart the app).

This is not building any apps but simply editing a J2EE application's java files. Usually takes about a half hour to eat up all of my memory, less time when the Xmx limit is lower.

I would file a bug but Issuezilla is down till next week. Any tips in the mean time? Attached is my log file.



messages.log.1.zip
 Description:
netbeans message log

Download
 Filename:  messages.log.1.zip
 Filesize:  10.39 KB
 Downloaded:  4 Time(s)

Back to top
View user's profile Send private message
michaelglass



Joined: 03 Nov 2009
Posts: 3
Location: New York, NY

PostPosted: Thu Nov 05, 2009 8:12 pm    Post subject: Reply with quote

update servers were down yesterday(i think). After installing all updates I have the same problems
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB