]> source.dussan.org Git - archiva.git/commitdiff
give Cargo some more memory to run the application
authorBrett Porter <brett@apache.org>
Wed, 13 Apr 2011 03:05:17 +0000 (03:05 +0000)
committerBrett Porter <brett@apache.org>
Wed, 13 Apr 2011 03:05:17 +0000 (03:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091632 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test/pom.xml

index 8fb377461e46b974dc8b8df61740781c9886b784..9b80894510af80715963f79e8f36d8c0a3d3c04a 100644 (file)
     <profile>
       <id>debug</id>
       <properties>
+        <!-- TODO: review how appropriate the memory settings are - should work with less -->
         <cargo.jvm.args>
           -Xdebug -Xnoagent -Djava.compiler=NONE
           -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${cargo.debug.port}
+          <cargo.jvm.args>-Xmx512m -XX:MaxPermSize=256m</cargo.jvm.args>
         </cargo.jvm.args>
         <cargo.debug.port>8000</cargo.debug.port>
         <!-- wait an unusual amount of time (1hr) to allow debugging to occur -->
     <cargo.wait>false</cargo.wait>
     <cargo.install.dir>cargo-installs</cargo.install.dir>
     <maxWaitTimeInMs>60000</maxWaitTimeInMs>
+    <!-- TODO: review how appropriate the memory settings are - should work with less -->
+    <cargo.jvm.args>-Xmx512m -XX:MaxPermSize=256m</cargo.jvm.args>
   </properties>
 </project>