XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Prasad EdlabadkarSubject: XJC Problem
Author: Prasad Edlabadkar
Date: 21 Aug 2007 01:37 AM
I am using Generate Java Binding classes option for my XSD. The XSD is quite huge. Thus generates huge number of classes. But xjc fails to generate all complaining about stack overflow.

"Stack overflow. Either you are compiling a large schema that requires more resource, or XJC has a bug. First, please extend the stack size by using the -Xss JVM option. If this doesn't solve the problem, please use the -debug option to obtain the stack trace and contact Sun."

specifying -Xss JVM parameter does fix the problem (I actually run the same command run by Stylus studio from a command prompt with additional JVM parameter of -Xss32m.) But, Stylus studio does not have option to specify this parameter so that I can generate the Java classes from stylus studio and add them to my project.

Can you please help

Thanks and Regards
Prasad Edlabadkar

Postnext
Tony LavinioSubject: XJC Problem
Author: Tony Lavinio
Date: 21 Aug 2007 10:42 AM
Did you try going to Tools|Options|JVM and adding the -Xss there?

Postnext
Prasad EdlabadkarSubject: XJC Problem
Author: Prasad Edlabadkar
Date: 21 Aug 2007 11:32 AM
Yes..I did. But it doesn't reflect in the command being executed.

Thanks
Prasad

Posttop
Alberto MassariSubject: XJC Problem
Author: Alberto Massari
Date: 04 Sep 2007 05:40 AM
Hi Prasad,
the option should be added in the "Parameters" edit box in the "External JVM" group.

Hope this helps,
Alberto

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.