Jmeter Issue 32bit vs 64bit Physical RAM swap Space

Following issue in Jmeter:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32756 bytes for ChunkPool::allocate
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS

Change the value as mention below in /apache-jmeter-2.9/bin/ 
export PATH
export JAVA_HOME
JVM_ARGS="-d64 -Xms1024m -Xmx50000m -server"
/JDK1.7.51-64/jdk1.7.0_51/bin/java $JVM_ARGS -jar `dirname $0`/ApacheJMeter.jar "$@"

Verify it: Run the /apache-jmeter-2.9/bin/

jmeter.log will generated with below message:

INFO - jmeter.util.JMeterUtils: Setting Locale to en
INFO - jmeter.JMeter: Loading user properties from: /apache-jmeter-2.9/bin/
INFO - jmeter.JMeter: Loading system properties from: /apache-jmeter-2.9/bin/ INFO - jmeter.JMeter: Copyright (c) 1998-2013 The Apache Software Foundation
INFO - jmeter.JMeter: Version 2.9 r1437961
INFO - jmeter.JMeter: java.version=1.7.0_51
INFO - jmeter.JMeter: HotSpot(TM) 64-Bit Server VM INFO - jmeter.JMeter:
INFO - jmeter.JMeter: os.arch=amd64
INFO - jmeter.JMeter: os.version=5.10
INFO - jmeter.JMeter: file.encoding=ISO646-US
INFO - jmeter.JMeter: Default Locale=English
INFO - jmeter.JMeter: JMeter Locale=English
INFO - jmeter.JMeter: JMeterHome=/apache-jmeter-2.9
INFO - jmeter.JMeter: user.dir =/apache-jmeter-2.9/bin
INFO - jmeter.JMeter: PWD =/apache-jmeter-2.9/bin
INFO - jmeter.JMeter: IP: Name: FullName:
INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/ WARN - jmeter.gui.action.ActionRouter: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. 2015/04/21 16:03:31 FATAL - jmeter.JMeter: An error occurred: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(

Whereas HotSpot(TM) 64-Bit Server VM indicate we have configure it 64 bit and we can increased the max heap size more than 3 GB which is limited for 32 bit jvm.

Have good day ahead!!!


  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.

  2. Good post and I like it very much. By the way, anybody try this increase app downloads? I do not how to use.


Please provide your input, it will honer for me...