hi when you say 'Hanged' what do you mean? did JMeter give you the same OutOfMemory errors? whats there in the log. You also said >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 . How many rows are there actually that get returned by the query?(Dont go by whatever GUI you use to say > 200 rows, it doesnt have to fetch all the rows at one time whereas Jmeter will) Have you specified variables to save these values (in which case dont!)
regards deepak On Wed, Oct 14, 2009 at 2:01 AM, vijayakumar <[email protected]>wrote: > I tried with JMeter 2.3.4 , But it doesn't give any output at all . It just > hanged for 1 Hr approx . > > I have configured the same settings what I have given in 2.3.2 > > I don't know why the higher version is performing like this ? Am I doing > any mistake ? > > But in Version 2.3.2 the test plan got hanged only after showing some 10 - > 15 response data in ' View Results in Tree ' , where as this is not > happening in 2.3.4 !! . > > Pls explain . . . Why ? > > My Connection Pool Configuration as follows > > Max Number of Connection : 50 > Pool Timeout : 90000 > Idle Cleanup Interval (ms) : 60000 > Auto Commit : True > > Thanking You > With warm regards, > Vijayakumar.C > > ----- Original Message ----- From: "Jakub Białek" <[email protected]> > To: "JMeter Users List" <[email protected]> > Sent: Wednesday, October 14, 2009 12:03 PM > > Subject: Re: AWT-EventQueue-0" java.lang.OutOfMemoryError > > > First try with the newest JMeter 2.3.4 and check if the problem still > occur. > > Best regards, > Jakub > > > > 2009/10/14 vijayakumar <[email protected]>: > >> 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" <[email protected]> >> To: "JMeter Users List" <[email protected]> >> 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 <[email protected]>: >> >>> >>> 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 <[email protected]>: >>> >>>> >>>> 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" <[email protected]> >>>> To: "JMeter Users List" <[email protected]> >>>> 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 <[email protected]>: >>>> >>>>> >>>>> 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: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

