-
1. building Seam works better after a set ANT_OPTS=-Xmx500m
codelion Jan 30, 2007 10:33 PM (in response to codelion)Make that set ANT_OPTS=-Xmx500m or more.
I watched memory use today, and while Ant makes the seam_reference.pdf the memory use is way up.
400 meg wasn't enough after I wrote the previous post.
What's heinous about it is that if you don't notice it there isn't a complaint at the end of the build, it says "build successful" and yet you have a bad .pdf file.
Hope this helps you some trouble in releases and such. -
2. Re: building Seam works better after a set ANT_OPTS=-Xmx400m
codelion Jan 31, 2007 1:14 PM (in response to codelion)The problem hasn't gone away yet.
Seems that in target "refdoc" that ant task to build the subproject doesn't use ANT_OPTS, or at least not -Xmx or -Xms.
Still getting apparently random success or failure at getting a good seam_reference.pdf, almost but not exactly tied to an out of memory error in the Ant output. -
3. Re: building Seam works better after a set ANT_OPTS=-Xmx400m
codelion Feb 6, 2007 1:26 PM (in response to codelion)Problem solved much better with in
jboss-seam/doc/reference/build.xml
in every<java
adding amaxmemory="192m"