[ http://issues.apache.org/jira/browse/XMLBEANS-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461829 ]
Harish K Swamy commented on XMLBEANS-307: ----------------------------------------- Hi Jacob, When I printed verbose message for the scomp. The message below shows that -mx 1536m did set the virtual memory. Please let me know if I am making any mistakes here. created source: C:\DOCUME~1\hswamy\LOCALS~1\Temp\xbean63171.d\src\gov\niem\niem\structures\x10\RefAttribute.java created source: C:\DOCUME~1\hswamy\LOCALS~1\Temp\xbean63171.d\src\gov\niem\niem\structures\x10\impl\RefAttributeImpl.jav Time to generate code: 8.906 seconds compile command: C:\j2sdk1.4.2_08\jre\..\bin\javac.exe -J-Xmx1536m @C:\DOCUME~1\hswamy\LOCALS~1\Temp\javac63172 -----*--------------------***************----------------------- [parsing started C:\DOCUME~1\hswamy\LOCALS~1\Temp\xbean63171.d\src\us\ny\state\exchanges\common\NYSMessageType.java] [parsing completed 47ms] [parsing started C:\DOCUME~1\hswamy\LOCALS~1\Temp\xbean63171.d\src\us\ny\state\exchanges\common\impl\NYSMessageTypeImpl. [parsing completed 0ms] Thank you Harish > XMLBeans scomp throws error "code too large" > -------------------------------------------- > > Key: XMLBEANS-307 > URL: http://issues.apache.org/jira/browse/XMLBEANS-307 > Project: XMLBeans > Issue Type: Bug > Components: Compiler > Affects Versions: Version 1.0.4 > Environment: Window XP Service pack 2 > Reporter: Harish K Swamy > Priority: Minor > Fix For: Version 2.2 > > > I am trying to run scomp on my schema which import many other schema's. Out > of many schema's one of them is having a size of 1.6 MB. > Below is the error I get when i run scomp. It would be very much helpful if > somebody gives me resolution for this problem. > Thanks in advance > Harish > C:\xmlbeans-2.2.0\bin>scomp -out > C:\WantedMissingInquiry\WantedMissingInquiryResponseIEPD\XMLSchemas\test.jar > C:\WantedMissingInqui > ry\WantedMissingInquiryResponseIEPD\XMLSchemas\NYSMessage.xsd > Time to build schema type system: 2.875 seconds > Time to generate code: 8.015 seconds > C:\DOCUME~1\hswamy\LOCALS~1\Temp\xbean8664.d\src\gov\niem\niem\ncic2000\x10\VMACodeSimpleType.java:15268: > code too large > public static final org.apache.xmlbeans.StringEnumAbstractBase.Table > table = > ^ > 1 error > BUILD FAILED -- 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]