Jaroslav Svoboda wrote: > I have found a problem while trying to open larger xml files (more than > 3MB, about 100 000 elements) in XML Mind editor. I try to increase java > heap at size 512M but it didn't fix the problem. > The editor loads the file from cache, then tryes to delete blank spaces > and then stop trying to open the file (and the exception at > com.xmlmind.xmledit.xsd.validate.NameRe.match(NameRE.java:637) is thrown ). > I don't know it it is a bug or if editir simlpy don't support that big > files.
This may be a stack size problem (*stack*, not heap: NameRe.match is stack intensize). See http://www.xmlmind.com/xmleditor/faq.html#outofmemory for instructions explaining how to specify the stack and heap size. if setting "-Xss4m -Xmx512m" or even "-Xss8m -Xmx1024m" does not solve the problem, then you have probably found a bug. In such case, I'll need your XML file and its associated DTD or XSD in order to be able to fix the bug.

