mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
03.31.2007 2e1786908dd448b6ce86c08d917f12b556c0678e
Update the build script so that the server can use up to 192MB of memory when
compiling, generating javadoc, running unit tests, etc.

Also, update the configuration used for running the unit tests so that all JE
backends other than userRoot will only use up to 2% each of the JVM memory for
caching rather than up to 10%.
2 files modified
11 ■■■■ changed files
opends/build.xml 6 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/resource/config-changes.ldif 5 ●●●●● patch | view | raw | blame | history
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>
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