I am using a enhydra framework. (www.enhydra.org)
When I run the
ant task to compile my html to .java files it throws an exception like below. ( i run a xmlc task)
The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError
[xmlc] Error: compile of generated
java code failed
[xmlc] org.enhydra.xml.xmlc.XMLCException: compile of generated java code failed
On researching I found out that the java stack is getting overflown. I tried to increase the java stack size and os stack size by mentioning
%JAVA% -Xms256M -Xmx512M -Xss1000K -Xoss5000K -cp %CLASSPATH% .........
in %ENHYDRA_HOME%/bin/ant.bat
I am using jdk 1.4.2
but this did not solve the problem. Any leads will be much appreciated