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.

Bug 131683 - OutOfMemoryException after night
Summary: OutOfMemoryException after night
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 07:00 UTC by alexandrov
Modified: 2009-02-12 15:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (30.18 KB, text/plain)
2008-04-01 07:01 UTC, alexandrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexandrov 2008-04-01 07:00:44 UTC
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
Comment 1 alexandrov 2008-04-01 07:01:41 UTC
Created attachment 59448 [details]
messages.log
Comment 2 Vladimir Voskresensky 2008-04-02 21:55:45 UTC
Please, run with option -J-XX:+HeapDumpOnOutOfMemoryError and then give us the link to java_pixXXX.hprof file, we'll
review the expensive objects
Comment 3 Vladimir Kvashin 2008-04-07 07:40:46 UTC
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).

Comment 4 Vladimir Kvashin 2008-06-16 09:39:52 UTC
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)

Comment 5 David Vancouvering 2008-07-02 19:36:42 UTC
Not sure why this was marked incomplete, but since it was I didn't notice this issue until now.  Will investigate.
Comment 6 Andrei Badea 2008-07-21 10:57:33 UTC
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.
Comment 7 mvanek 2009-02-12 15:20:09 UTC
verified.
NetBeans IDE Dev (Build 200902120201)