java.lang.OutOfMemoryError : URGENT

While performing a portability test to an EAR file, I have always the java.lang.OutOfMemoryError exception after the seven jar.......

I did added this : "-Xms1200M" "-Xmx1200M" "-XX:+UseParallelGC" to the asant script but no effects :-((

here is the error

[exec] java.lang.OutOfMemoryError

[exec] Exception in thread "main"

[java] 4-lug-2006 16.12.29 com.sun.enterprise.appverification.tools.GenReportTool main

[java] GRAVE: Could not create or parse document

[echo] See "C:\Sun\javke1.4.2\reporttool\static\verifierSummary.html" for results.

Please help me

Thanks

Message was edited by:

__Taha__

[675 byte] By [__Taha__a] at [2007-10-2 23:50:36]
# 1
The cause for the problem is obvious from the error message.Try adding your extra JVM options to 'reporttool' script instead of asant script. The script is found in $AVK_INSTALL_DIR/bin directory.Thanks,Bhavani.
Bhavania at 2007-7-14 16:36:03 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2
First thaks for u r reply.I did what you said but no changes!The error is not in the report tool but in StaticArchiveTest, the reporttool is launched after this last class finish ...Any suggestions ?Thanks a lot
__Taha__a at 2007-7-14 16:36:03 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 3
You can refer to the following thread- http://forum.java.sun.com/thread.jspa?threadID=709326&tstart=0
VikasAwasthia at 2007-7-14 16:36:03 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 4
I did seen that thread yesterday and as I said in my first post I did add the jvm options to the script but still having the same exception........Any others suggestion ?Thanks
__Taha__a at 2007-7-14 16:36:03 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 5

You have mentioned that you have added JVM option in the asant script. In the above thread I have suggested to add this option in the verifier script. Please read this thread carefully.

The other place to add these options is the build file that you are using to run the ant tasks. This is also specified in the above thread.

VikasAwasthia at 2007-7-14 16:36:03 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 6
YeeeeeeeeesIt works with the verifier scriptThanks a lottttttttttttt
__Taha__a at 2007-7-14 16:36:03 > top of Java-index,Enterprise & Remote Computing,AVK Portability...