From 1dc9b4fab994adc6cc57d4bd94c02e4e069b76fa Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sat, 07 Oct 2006 19:36:51 +0000
Subject: [PATCH] Update the build script to explicitly set the amount of memory available to the JVM used to run the TestNG unit tests.

---
 opends/build.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opends/build.xml b/opends/build.xml
index c3d9cf8..9c8783a 100644
--- a/opends/build.xml
+++ b/opends/build.xml
@@ -688,6 +688,8 @@
       <jvmarg  value="-Demma.coverage.out.file=${coverage.data.dir}/coverage.emma" />
       <jvmarg value="-Demma.coverage.out.merge=false" />
       <jvmarg value="-Dorg.opends.server.BuildRoot=${basedir}" />
+      <jvmarg value="-Xmx${MEM}" />
+      <jvmarg value="-Xms${MEM}" />
       <xmlfileset dir="${unittest.resource.dir}" includes="testng.xml" />
     </testng>
 

--
Gitblit v1.10.0