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.
Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) Client VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24 OS: Windows 7 User Comments: joshginn: Netbeans keeps freezing when I have two copies of netbeans open, even though I'm using the --userdir flag to route the second copy to use a different directory. The error is specifically happening when I'm editing a Hibernate mapping file (*.hbm.xml). When I get to a "column=" field and start to fill in the column, a message comes up that says "Connecting to database" (to populate a list of column names) and then shortly after that it freezes. Thanks for any help fixing this issue. If you can, please notify me when it is done. Blessings, Josh Stacktrace: java.lang.OutOfMemoryError: Java heap space at com.microsoft.sqlserver.jdbc.TDSPacket.<init>(TDSPacket.java:4670) at com.microsoft.sqlserver.jdbc.TDSReader.readPacket(TDSReader.java:4833) at com.microsoft.sqlserver.jdbc.TDSCommand.detach(TDSCommand.java:5762) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1704) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)
Created attachment 146517 [details] stacktrace
Hello, thank you for the
Hi, It looks like your full comment was cut off. Will you please resend it? Also, what is the maximum amount of memory I can allocate to Netbeans? If I specify 750M on the command line I get an error and it won't open. Thanks, Josh
(In reply to joshginn from comment #3) > Hi, > It looks like your full comment was cut off. Will you please resend it? > Also, what is the maximum amount of memory I can allocate to Netbeans? If I > specify 750M on the command line I get an error and it won't open. > > Thanks, > Josh Hello, sorry for that. I wanted to thank you for the report. Look at http://wiki.netbeans.org/FaqNetbeansConf where you can find how to specify memory options. Also may be useful - https://performance.netbeans.org/howto/jvmswitches/ There is a mechanism that counts the max heap size. By default it's set to 1/5 of your available memory. If it would be greater than 1024M it's set to 1024M. But always you can overwrite it in <NB installation folder>/etc/netbeans.conf file.
Without some more info (heapdump) this can't be analyzed further. Please feel free to reopen if you can supply the required info. Thank you!