Hi all,
I have
tomcat 5.5 and when I run my application for the ~20th time, I get this error message:
I googled this issue and reallied that I should increase the size of allocated heap .
something like this:
java -Xms5m -Xmx15m MyApp
(not sure about the size)
but where exactly do I execute this statement? when I do that in the command line (win) i get this error:
exception in
thread "main" java.lanf.noClassDefFoundError: MyApp
also...someone noted that it should be on tomcat as in:
"$_RUNJAVA" -Xmx512M $JAVA_OPTS $CATALINA_OPTS
and yet...could figure it out how to do that.
anyone?!?