I am using JMeter 2.3.2 and Java : version "1.6.0_13"

My Configuration Settings in JMeter batch file are as follows .

set HEAP=-Xms1024m -Xmx1024m
set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m
set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50%
set TENURING=-XX:MaxTenuringThreshold=2
set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=20%
set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000
set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m
set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution


Now , I am trying the same test plan with only 50 Users & 100 Connections in JDBC Configuration , But still i am getting the error in jmeter.log as

ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.util.Arrays.copyOf(Unknown Source)
at java.util.ArrayList.ensureCapacity(Unknown Source)
at java.util.ArrayList.add(Unknown Source)
at org.apache.jorphan.collections.Data.addColumnValue(Data.java:289)
at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.getDataFromResultSet(JDBCSampler.java:401) at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:168)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)

Give me your feedback on this please !

Thanking You
With warm regards,
Vijayakumar.C


----- Original Message ----- From: "Jakub Białek" <ragno...@gmail.com>
To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
Sent: Wednesday, October 14, 2009 11:50 AM
Subject: Re: AWT-EventQueue-0" java.lang.OutOfMemoryError


One more question: What version of java and jmeter do you use?

Best regards,
Jakub

2009/10/14 Jakub Białek <ragno...@gmail.com>:
If you use both HEAP=-Xms1024m -Xmx1024m and NEW=-XX:NewSize=1024m
-XX:MaxNewSize=1024m it's a problem, try without -XX:NewSize=1024m
-XX:MaxNewSize=1024m.
If this doesn't help you, show me all parameters/arguments that you
pass to java command.

Best regards,
Jakub


2009/10/14 vijayakumar <bcvijayaku...@altechindia.com>:
Oops ! Sorry Jakub I used the heap Size as

set HEAP=-Xms1024m -Xmx1024m only .
and not as " set NEW=-XX:NewSize=1024m -XX:MaxNewSize=1024m "

but still the Problem persist .

Thanking You
With warm regards,
Vijayakumar.C
----- Original Message ----- From: "Jakub Bialek" <ragno...@gmail.com>
To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
Sent: Wednesday, October 14, 2009 11:28 AM
Subject: Re: AWT-EventQueue-0" java.lang.OutOfMemoryError


Hi,

instead of -XX:NewSize=1024m -XX:MaxNewSize=1024m try with Xmx1024m Xms1024m

Best regards,
Jakub


2009/10/14 vijayakumar <bcvijayaku...@altechindia.com>:

Dear All

My self having 2 GB RAM in my machine and am running a JDBC Connection
Config Test Plan ( Oracle Database ) with 250 Concurrent users .

I have set the Max number of Connection as 500 in JDBC Connection
Configuration .

The Query used in JDBC Request ( Query Type = ' Select Statement ' ) has
an output of approx some 15-20 columns and more than 200 rows from database
.

While running the test plan , I am getting the following errors in View
Results in Tree

i. Response Code : null 17002
Respose Message : java.sql.SQLException : IO exception : End of TNS Data
Channel .

an I have got an Error message in Command Prompt as

ii. " Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError:
Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.awt.Component$BltBufferStrategy.revalidate(Unknown Source) "

more over my Machine got hanged after some time . I have set my heap size
as

set NEW=-XX:NewSize=1024m -XX:MaxNewSize=1024m

Can anyone please give me a suggetion to overcome this error ??

Thanking You
With warm regards,
Vijayakumar.C

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to