How are you executing in Eclipse? How are you executing from CLI? /Anders
On Fri, Sep 16, 2011 at 09:09, VanIngen, Erik (FIPS) <[email protected]> wrote: > Good morning Mavens! > > Running a unittest configured with Xmx256M in Eclipse runs fine. > > Running the same test with Maven on the prompt with set > MAVEN_OPTS="-Xmx1024m" results in a Caused by: java.lang.OutOfMemoryError: > Java heap space > > What could be the reason that running the test on the prompt results in a > Java Heap Space problem (while in Eclipse it runs fine)? > > My configuration is Maven 3.0.3, Java jdk1.6.0_16. > > Thanks for commenting, > Erik > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
