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.
This bug was originally marked as duplicate of bug 183289, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Mac OS X User Comments: GUEST: i don't know what i was doing... i just quit netbeans.. maybe worth be mentioned: before i was installing the haml extension without restarting netbeans... GUEST: Initial load of C++ project. Xmx=3192m Stacktrace: java.lang.OutOfMemoryError: Java heap space at com.sun.org.apache.xerces.internal.util.XMLStringBuffer.append(XMLStringBuffer.java:208) at com.sun.org.apache.xerces.internal.util.XMLStringBuffer.append(XMLStringBuffer.java:226) at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:855) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:438) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:254) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:604)
Created attachment 146758 [details] stacktrace
> User Comments: > GUEST: i don't know what i was doing... > i just quit netbeans.. > maybe worth be mentioned: before i was installing the haml extension without > restarting netbeans... The error was thrown while the search was in progress. NetBeans tried to recognize MIME-Type of an XML file with a very long attribute in the root tag (or an attribute containing an entity which resolved in a long string, something like [1]). I'm not sure this artificial case should be handled by NetBeans. Closing as WONTFIX for now, as it seems that the file was accessed accidentally, and the fix could be dangerous (affect performance or break some MIME resolvers). Please reopen this issue if you need to work with XML files with very long attribute values. > GUEST: Initial load of C++ project. Xmx=3192m Occurred in NetBeans 7.1.1, which is quite old. Thank you for reporting. [1] https://github.com/ConradIrwin/libxml2/blob/master/test/recurse/lol4.xml