Out of memory errors at end of a run
John K <[email protected]> Wed, 2 Mar 2016 07:56:53 -0500
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <[email protected]> |
--===============5492085130103485920==
Content-Type: multipart/alternative;
boundary="_db290459-57b8-49f7-9661-bd2a2ef5d7e3_"
--_db290459-57b8-49f7-9661-bd2a2ef5d7e3_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello all=2C
I'm running Grinder 3.11 on RHEL 7.2 with the following JDK:
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr6fp1-20140108_01(SR6 FP1))
IBM J9 VM (build 2.6=2C JRE 1.7.0 Linux amd64-64 Compressed References 2014=
0106_181350 (JIT enabled=2C AOT enabled)
J9VM - R26_Java726_SR6_20140106_1601_B181350
JIT - r11.b05_20131003_47443.02
GC - R26_Java726_SR6_20140106_1601_B181350_CMPRSS
J9CL - 20140106_181350)
JCL - 20140103_01 based on Oracle 7u51-b11
My Python script is just HTTP posts to a servlet and itself is very simple.=
I'm running this for a 4 hour duration with 7 processes and 600 threads. I=
n my grinder.properties=2C I have this set "grinder.jvm.arguments=3D-mx2048=
M".
When my run ends=2C I get lots of heap dumps and error stacks like the belo=
w. I already have the memory for each worker thread set to 2GB=2C do I need=
to set it even higher? I'm hoping not as I'm reaching the limit in memory =
on my machine. I'm not using the Grinder statistics for anything so if I ca=
n disable them to avoid this error=2C I'm find with that.
Any ideas on how to proceed?
2016-03-01 18:28:35=2C512 ERROR worker-bootstrap: Error running worker proc=
ess
java.lang.OutOfMemoryError: Java heap space
at java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:338)=
~[na:1.7.0]
at java.lang.StringBuffer.append(StringBuffer.java:204) ~[na:1.7.0]
at java.io.StringWriter.write(StringWriter.java:123) ~[na:1.7.0]
at java.io.PrintWriter.write(PrintWriter.java:467) ~[na:1.7.0]
at java.io.PrintWriter.write(PrintWriter.java:484) ~[na:1.7.0]
at java.io.PrintWriter.print(PrintWriter.java:614) ~[na:1.7.0]
at net.grinder.statistics.StatisticsTable$1.next(StatisticsTable.ja=
va:150) ~[grinder-core-3.11.jar:na]
at net.grinder.statistics.TestStatisticsMap$ForEach.iterate(TestSta=
tisticsMap.java:355) ~[grinder-core-3.11.jar:na]
at net.grinder.statistics.StatisticsTable.print(StatisticsTable.jav=
a:146) ~[grinder-core-3.11.jar:na]
at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.jav=
a:554) ~[grinder-core-3.11.jar:na]
at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerPro=
cessEntryPoint.java:86) [grinder-core-3.11.jar:na]
at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerPr=
ocessEntryPoint.java:59) [grinder-core-3.11.jar:na]
=
--_db290459-57b8-49f7-9661-bd2a2ef5d7e3_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hello all=2C<br><br>I'm running =
Grinder 3.11 on RHEL 7.2 with the following JDK:<br><br>java version "1.7.0=
"<br>Java(TM) SE Runtime Environment (build pxa6470sr6fp1-20140108_01(SR6 F=
P1))<br>IBM J9 VM (build 2.6=2C JRE 1.7.0 Linux amd64-64 Compressed Referen=
ces 20140106_181350 (JIT enabled=2C AOT enabled)<br>J9VM - R26_Java726_SR6_=
20140106_1601_B181350<br>JIT =3B - r11.b05_20131003_47443.02<br>GC =
=3B =3B - R26_Java726_SR6_20140106_1601_B181350_CMPRSS<br>J9CL - 201401=
06_181350)<br>JCL - 20140103_01 based on Oracle 7u51-b11<br><br>My Python s=
cript is just HTTP posts to a servlet and itself is very simple. I'm runnin=
g this for a 4 hour duration with 7 processes and 600 threads. In my grinde=
r.properties=2C I have this set "grinder.jvm.arguments=3D-mx2048M".<br><br>=
When my run ends=2C I get lots of heap dumps and error stacks like the belo=
w. I already have the memory for each worker thread set to 2GB=2C do I need=
to set it even higher? I'm hoping not as I'm reaching the limit in memory =
on my machine. I'm not using the Grinder statistics for anything so if I ca=
n disable them to avoid this error=2C I'm find with that.<br><br>Any ideas =
on how to proceed?<br><br>2016-03-01 18:28:35=2C512 ERROR worker-bootstrap:=
Error running worker process<br>java.lang.OutOfMemoryError: Java heap spac=
e<br> =3B =3B =3B =3B =3B =3B =3B at java.lang.=
StringBuffer.ensureCapacityImpl(StringBuffer.java:338) ~[na:1.7.0]<br> =
=3B =3B =3B =3B =3B =3B =3B at java.lang.StringBuff=
er.append(StringBuffer.java:204) ~[na:1.7.0]<br> =3B =3B =3B&nb=
sp=3B =3B =3B =3B at java.io.StringWriter.write(StringWriter.ja=
va:123) ~[na:1.7.0]<br> =3B =3B =3B =3B =3B =3B&nbs=
p=3B at java.io.PrintWriter.write(PrintWriter.java:467) ~[na:1.7.0]<br>&nbs=
p=3B =3B =3B =3B =3B =3B =3B at java.io.PrintWriter=
.write(PrintWriter.java:484) ~[na:1.7.0]<br> =3B =3B =3B =
=3B =3B =3B =3B at java.io.PrintWriter.print(PrintWriter.java:6=
14) ~[na:1.7.0]<br> =3B =3B =3B =3B =3B =3B =3B=
at net.grinder.statistics.StatisticsTable$1.next(StatisticsTable.java:150)=
~[grinder-core-3.11.jar:na]<br> =3B =3B =3B =3B =3B&nb=
sp=3B =3B at net.grinder.statistics.TestStatisticsMap$ForEach.iterate(T=
estStatisticsMap.java:355) ~[grinder-core-3.11.jar:na]<br> =3B =3B&=
nbsp=3B =3B =3B =3B =3B at net.grinder.statistics.Statistic=
sTable.print(StatisticsTable.java:146) ~[grinder-core-3.11.jar:na]<br> =
=3B =3B =3B =3B =3B =3B =3B at net.grinder.engine.p=
rocess.GrinderProcess.run(GrinderProcess.java:554) ~[grinder-core-3.11.jar:=
na]<br> =3B =3B =3B =3B =3B =3B =3B at net.grin=
der.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java=
:86) [grinder-core-3.11.jar:na]<br> =3B =3B =3B =3B =3B=
 =3B =3B at net.grinder.engine.process.WorkerProcessEntryPoint.main=
(WorkerProcessEntryPoint.java:59) [grinder-core-3.11.jar:na]<br> =
</div></body>
</html>=
--_db290459-57b8-49f7-9661-bd2a2ef5d7e3_--
--===============5492085130103485920==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
--===============5492085130103485920==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use
--===============5492085130103485920==--