svn commit: r1331995 - /ofbiz/trunk/build.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1331995 - /ofbiz/trunk/build.xml

jleroux@apache.org
Author: jleroux
Date: Sun Apr 29 20:56:17 2012
New Revision: 1331995

URL: http://svn.apache.org/viewvc?rev=1331995&view=rev
Log:
-XX:+HeapDumpOnOutOfMemoryError may turn useful sometimes

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1331995&r1=1331994&r2=1331995&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Sun Apr 29 20:56:17 2012
@@ -383,6 +383,7 @@ under the License.
             <jvmarg value="${memory.initial.param}"/>
             <jvmarg value="${pos.memory.max.param}"/>
             <jvmarg value="${memory.maxpermsize.param}"/>
+            <jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>        
         </java>
     </target>
     <target name="start-batch"
@@ -391,6 +392,7 @@ under the License.
             <jvmarg value="${memory.initial.param}"/>
             <jvmarg value="${pos.memory.max.param}"/>
             <jvmarg value="${memory.maxpermsize.param}"/>
+            <jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>          
         </java>
     </target>
     <target name="start-debug"
@@ -403,6 +405,7 @@ under the License.
             <jvmarg value="-Djava.compiler=NONE"/>
             <jvmarg value="-Xdebug"/>
             <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091"/>
+            <jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>          
         </java>
     </target>
     <target name="start-pos"
@@ -411,6 +414,7 @@ under the License.
             <jvmarg value="${memory.initial.param}"/>
             <jvmarg value="${memory.max.param}"/>
             <jvmarg value="${memory.maxpermsize.param}"/>
+            <jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>          
             <arg value="pos"/>
         </java>
     </target>