jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1853060 - /jmeter/trunk/build.xml
Date Wed, 06 Feb 2019 11:10:03 GMT
Author: pmouawad
Date: Wed Feb  6 11:10:03 2019
New Revision: 1853060

URL: http://svn.apache.org/viewvc?rev=1853060&view=rev
Log:
Reduce memory usage

Modified:
    jmeter/trunk/build.xml

Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1853060&r1=1853059&r2=1853060&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Wed Feb  6 11:10:03 2019
@@ -1039,6 +1039,9 @@
       <classpath>
         <pathelement location="${dest.jar.jmeter}/ApacheJMeter.jar"/>
       </classpath>
+      <jvmarg value="-Xms64m"/>
+      <jvmarg value="-Xmx64m"/>
+      <jvmarg value="-XX:MaxMetaspaceSize=128m"/>
       <jvmarg value="${jacoco_params}run_gui:java(server)"/>
       <sysproperty key="jmeter.home" value="${basedir}"/>
     </java>
@@ -2219,7 +2222,7 @@ run JMeter unless all the JMeter jars ar
               fork="true"
               dir="${basedir}"
               failonerror="true">
-          <jvmarg value="-Xmx512m"/>
+          <jvmarg value="-Xmx256m"/>
           <classpath>
             <fileset dir="${maven.home}/boot">
               <include name="*.jar" />
@@ -2713,6 +2716,9 @@ run JMeter unless all the JMeter jars ar
             <path refid="logging.classpath"/>
           </classpath>
           <jvmarg value="${jacoco_params}batchtest:daemon:java(server)"/>
+          <jvmarg value="-Xms64m"/>
+          <jvmarg value="-Xmx64m"/>
+          <jvmarg value="-XX:MaxMetaspaceSize=128m"/>
           <sysproperty key="java.awt.headless" value="true"/>
           <!-- Bug 59723 -->
           <!-- pick up default properties -->
@@ -2823,6 +2829,9 @@ run JMeter unless all the JMeter jars ar
         <path refid="classpath"/>
         <path refid="logging.classpath"/>
       </classpath>
+      <jvmarg value="-Xms64m"/>
+      <jvmarg value="-Xmx64m"/>
+      <jvmarg value="-XX:MaxMetaspaceSize=128m"/>
       <jvmarg value="${jacoco_params}batchtest:java(${taskname})"/>
       <jvmarg value="-Djava.rmi.server.hostname=${computer.hostname}" if:set="rmi_force_localhost"/>
       <!-- Detect if non-GUI runs OK headless by forcing it to try using non-headless
mode -->
@@ -3188,6 +3197,9 @@ run JMeter unless all the JMeter jars ar
         <path refid="classpath"/>
         <path refid="logging.classpath"/>
       </classpath>
+      <jvmarg value="-Xms64m"/>
+      <jvmarg value="-Xmx64m"/>
+      <jvmarg value="-XX:MaxMetaspaceSize=128m"/>
       <jvmarg value="-server"/>
       <jvmarg value="${jacoco_params}_test:java"/>
       <jvmarg value="-Dfile.encoding=${test.encoding}"/>



Mime
View raw message