You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by David Wynter <da...@stpenable.com> on 2005/02/25 18:00:52 UTC

java.lang.OutOfMemoryError even with 768MB

Hi,

New to XMLBeans. Checked the wiki, made certain that the JAVA_HOME is set to
JDK. Here is modifed scomp

setlocal
set ORGPATH = %PATH%
set PATH=C:\j2sdk1.4.2\bin;%PATH%
if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib

set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
set cp=%cp%;%XMLBEANS_LIB%\jsr173_api.jar
set cp=%cp%;%JAVA_HOME%\lib\tools.jar
set cp=%cp%;%XMLBEANS_LIB%\resolver.jar

java -classpath %cp% -Xms512m -Xmx768m
org.apache.xmlbeans.impl.tool.SchemaCompiler %*
set PATH=%ORGPATH%
:done

Note the massive amount of memory I am allowing it.

This xsd is enormous, 1MB in size 21k lines, not sure if that has anything
to do with it. You can get the xsd - mddl2.3\mddlbase-2.3-final.xsd, from
http://www.mddl.org/mddl/2003/2.3-final/default.asp

Thx.

David Wynter


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org