From 5ac2f7756dfc7cc13e2aac5d90c046b4b9630eb1 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 03 Aug 2007 15:31:30 +0000
Subject: [PATCH] Update the build script so that the server can use up to 192MB of memory when compiling, generating javadoc, running unit tests, etc.

---
 opendj-sdk/opends/build.xml                                            |    6 +++---
 opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif |    5 +++++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/build.xml b/opendj-sdk/opends/build.xml
index 5e18d8e..890626a 100644
--- a/opendj-sdk/opends/build.xml
+++ b/opendj-sdk/opends/build.xml
@@ -257,7 +257,7 @@
       </not>
     </condition>
 
-    <condition property="MEM" value="128M">
+    <condition property="MEM" value="192M">
       <not>
         <isset property="MEM" />
       </not>
@@ -563,7 +563,7 @@
   <target name="rebuild"
        description="Rebuild the server without destroying config or data.">
     <!-- Set the amount of memory to use for the build -->
-    <condition property="MEM" value="128M">
+    <condition property="MEM" value="192M">
       <not>
         <isset property="MEM" />
       </not>
@@ -1463,7 +1463,7 @@
   <target name="buildtools" depends="init"
         description="Builds the build tools">
     <!-- Set the amount of memory to use for the build -->
-    <condition property="MEM" value="128M">
+    <condition property="MEM" value="192M">
       <not>
         <isset property="MEM" />
       </not>
diff --git a/opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif b/opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif
index f4aad4e..3a30756 100644
--- a/opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif
+++ b/opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif
@@ -361,6 +361,7 @@
 ds-cfg-backend-import-thread-count: 8
 ds-cfg-backend-entries-compressed: false
 ds-cfg-backend-deadlock-retry-limit: 10
+ds-cfg-database-cache-percent: 2
 
 dn: cn=Index,ds-cfg-backend-id=unindexedRoot,cn=Backends,cn=config
 changetype: add
@@ -401,6 +402,7 @@
 ds-cfg-backend-import-thread-count: 8
 ds-cfg-backend-entries-compressed: false
 ds-cfg-backend-deadlock-retry-limit: 10
+ds-cfg-database-cache-percent: 2
 
 dn: cn=VLV Index,ds-cfg-backend-id=rebuildRoot,cn=Backends,cn=config
 changetype: add
@@ -458,6 +460,7 @@
 ds-cfg-backend-import-thread-count: 8
 ds-cfg-backend-entries-compressed: false
 ds-cfg-backend-deadlock-retry-limit: 10
+ds-cfg-database-cache-percent: 2
 
 dn: cn=VLV Index,ds-cfg-backend-id=importRoot,cn=Backends,cn=config
 changetype: add
@@ -497,6 +500,7 @@
 ds-cfg-backend-import-thread-count: 8
 ds-cfg-backend-entries-compressed: false
 ds-cfg-backend-deadlock-retry-limit: 10
+ds-cfg-database-cache-percent: 2
 
 dn: cn=VLV Index,ds-cfg-backend-id=verifyRoot,cn=Backends,cn=config
 changetype: add
@@ -618,6 +622,7 @@
 ds-cfg-backend-import-thread-count: 8
 ds-cfg-backend-entries-compressed: false
 ds-cfg-backend-deadlock-retry-limit: 10
+ds-cfg-database-cache-percent: 2
 
 dn: cn=VLV Index,ds-cfg-backend-id=indexRoot,cn=Backends,cn=config
 changetype: add

--
Gitblit v1.10.0