[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Commented: (XMLBEANS-233) Schema compiler throws "java.lang.OutOfMemoryError: Java heap space
From:       "Vijayaganesh M (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2005-12-12 18:13:45
Message-ID: 790288960.1134411225967.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/XMLBEANS-233?page=comments#action_12360232 \
] 

Vijayaganesh M commented on XMLBEANS-233:
-----------------------------------------

Hi,

Thanks. The problem got resolved with the above solution.

> 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic