0 Replies Latest reply on Feb 3, 2006 12:10 AM by Rakesh Shete

    OutOfMemoryError while running test cases

    Rakesh Shete Newbie

      Hi.

      I get java.lang.OutOfMemoryError while running my JUnit and Cactus test cases. I have a total of 8000 odd test cases to run. The memory allocated for jboss is 1024MB. The jboss version I m using is 3.2.3. I run the test cases through ant task. The ant task that starts the jboss looks like this in the build file:


      java jar="${jboss.home}/bin/run.jar" fork="true" maxmemory="1024m"


      Please let me know if I am missing out on something. When the test cases were around 6000 they used to run successfully.

      Regards,
      Rakesh S