ICU-5801 Merging the fix for OOM reproduced on IBM Java5/Windows from trunk. Add -Xdisableexcessivegc in the test JVM arg to prevent the JVM to throw OOM before the heap usage reaching the limit.

X-SVN-Rev: 22652
This commit is contained in:
Yoshito Umaoka 2007-09-10 20:34:02 +00:00
parent 3a4e8a814e
commit 65e89fc282

View file

@ -192,6 +192,14 @@
<condition property="test.jvm.args" value="-Xms96m -Xmx128m">
<isset property="before.java14" />
</condition>
<condition property="test.jvm.args" value="-ea -Xms96m -Xmx128m -Xdisableexcessivegc">
<and>
<not>
<isset property="before.java15" />
</not>
<equals arg1="${java.vm.vendor}" arg2="IBM Corporation"/>
</and>
</condition>
<condition property="test.jvm.args" value="-ea -Xms96m -Xmx128m">
<not>
<isset property="test.jvm.args" />