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.
I have OutOfMemoryExceptions almost every night. I just open IDE, make smth(I am not working with huge projects just a samples), and leave IDE running. When I come back on the next morning I can usually(not every morning but almost every other) see OutOfMemoryException in the terminal and hanging IDE. I am attaching my messages.log
Created attachment 59448 [details] messages.log
Please, run with option -J-XX:+HeapDumpOnOutOfMemoryError and then give us the link to java_pixXXX.hprof file, we'll review the expensive objects
I'd like to note that the log shows -Xmx161m setting. (I don't mean the issue doesn't exist, that's just an information for those who will try to reproduce it).
The mentioned memory snapshot shows that nearly all memory that is used (151,092,936 of 170,681,448 bytes retained) is held by the class com.mysql.jdbc.JDBC4Connection The snapshot is located here: /net/elif.russia/export1/sside/vk155633/important_data/java_pid11140.hprof (It's 176M, so I'm not sure attaching it to the IZ is right thing to do)
Not sure why this was marked incomplete, but since it was I didn't notice this issue until now. Will investigate.
I get a "permission denied" message when reading the file in desc5. The code responsible for SQL execution has been modified since 6.1, and another OOME issue on MySQL has been fixed since then. Tentatively closing as fixed. If you can still reproduce in a recent 6.5 daily build, please reopen and: - create a new dump file and make sure it is available. - describe any database-related operations that you are performing (e.g., executing a script, a SELECT statement, etc.) Thanks.
verified. NetBeans IDE Dev (Build 200902120201)