Schema compiler throws "java.lang.OutOfMemoryError: Java heap space" for some
schemas
-------------------------------------------------------------------------------------
Key: XMLBEANS-233
URL: http://issues.apache.org/jira/browse/XMLBEANS-233
Project: XMLBeans
Type: Bug
Components: Compiler
Versions: Version 2
Environment: Windows XP Professional SP2, JDK 1.5.0_04, XMLBeans Development
Kit Version 2.0.0, System RAM 1 GB
Reporter: Vijayaganesh M
Priority: Critical
"scomp" throws the following while compiling some XSD files.
Time to build schema type system: 2.844 seconds
Time to generate code: 26.251 seconds
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
BUILD FAILED
Tried the following modifications in the scomp.cmd file in the
"\xmlbeans-2.0.0\bin" folder.
java -Xmx1024M -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaCompiler %*
and
java -Xmx1024M -Xms512M -classpath %cp%
org.apache.xmlbeans.impl.tool.SchemaCompiler %*
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]