[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology] OutOfMemoryError in jUnit tests

Hello,

a big junit test (224 test methods in serveral test suites) causes
a OOME to be thrown which makes the test fail.

These are my settings:

Eclipse 2.1.1 (Build 200306271545)
Startup-Command:
eclipse -vmargs -DproxySet=true -DproxyHost=proxy
-DproxyPort=3128 -Xmx1024MB


Shouldn't the option -Xmx1024MB allow Eclipse to allocate up to a gigabyte of memory? The memory usage is far below 300MB when the OOME is being thrown.

Is there a separate VM for junit-tests? How can the -Xmx option be
passed to that VM?


Thank You very much,

Hans