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 Dev (Build 080826) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Windows XP, 5.1, x86 User Comments: 1. Registered remote MySQL. 2. Tried to create "sakila" database. Result: OutOfMemoryError arises. Stacktrace: java.lang.OutOfMemoryError: Java heap space at com.sun.org.apache.xerces.internal.xni.XMLString.toString(XMLString.java:185) at com.sun.org.apache.xerces.internal.parsers.AbstractDOMParser.characters(AbstractDOMParser.java:1188) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:463) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
Created attachment 68434 [details] stacktrace
I've executed the sakila script a few times and haven't encountered out of memory errors. If you executed other SQL please attach the script or commands. Also, please email me the sql_history.xml file.
From the Exceptions reporter, it appears you executed SQL scripts 3 times.
reproducible My sql_history.xml file isn't that long but the parser is taking a long time to open
I produced a thread dump and there are some other processes that are blocking . There are some Derby and MySQL executors running which have nothing to do with opening SQLHistory
Created attachment 68503 [details] thread dump showing other processes blocked
I'm pretty sure I found the problem
e992288b287f
Integrated into 'main-golden', available in build *200808300201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/e992288b287f User: John Baker <jbaker@netbeans.org> Log: #145281 Sakila: OutOfMemoryError: Java heap space
Verified with build 080910.