Suggestions for out of memory error on xml bean ant task?

Dave Shuck <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
I am trying to to build a JAR file from a _very_ large XSD file (12K lines)
on a laptop that is (unfortunately) running Windows 7 with 2GB of memory.
Both from within eclipse and from the command line, I am getting "[xmlbean]
java.lang.OutOfMemoryError: Java heap space" errors as it attempts to
compile 7604 source files after parsing the XSD.  Within eclipse.ini I have
boosted the memory settings as high as I can without success.

While I realize that this size XSD is pretty excessive, our company has a
Hudson server that does successfully build this XSD-->JAR nightly, so I know
that it can be compiled given the right environment.

Does anyone have any suggestions for how I might be able to better manage
the memory to allow me to build on my development laptop?

Thanks in advance for any help.


~Dave Shuck
/**************************************
blog: www.daveshuck.com
tweets: www.twitter.com/dshuck
cf peeps: www.dfwcfug.org
**************************************/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.