Hi Avian,

Yes I just added additional "-Xincgc" parameter to the java command in
jmeter.bat file. I kept rest of the command and batch file as it is. 

I also removed lots of asserts (page response time assert, page response
code assert) that were there in my script.

One more suggestion that I received (though I did not have to implement it)
on this user list was to modify the upper limit of heap memory. You need to
update following line in "Jmeter.bat" file:

HEAP="-Xms256m -Xmx256m"

Go here for further info:

http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-e3f2394d89dd739bdedef6e
4e5d776d7ab3959b9

Hope this help.

Thanks,
Niket

-----Original Message-----
From: Liao, Avian [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 03, 2005 2:05 AM
To: JMeter Users List
Subject: RE: HELP Req: JMeter closes abruptly ...

Hi, Niket, 


Just one quick question. Did you just add

java -Xincgc $ARGS -jar `dirname $0`/ApacheJMeter.jar "$@"

to the jmeter.bat file?


Avian


-----Original Message-----

From: Niket Redkar [mailto:[EMAIL PROTECTED]

Sent: Tuesday, February 01, 2005 6:10 AM

To: 'JMeter Users List'

Subject: RE: HELP Req: JMeter closes abruptly ...



Thanks Mark, Sebb, Deepa, Daniel, and Kiran for your quick replies and

helpful suggestions. 


I think your solutions have worked. I executed the script on a small scale

and it did not fail where it used to. 


As per Deepa's suggestions I added the extra parameter "-Xincgc" in the

JMeter Batch file. I think this extra parameter invokes Java Garbage

Collector explicitly. 


Deepa, please correct me if I have misunderstood the use of this extra

parameter.


Also as per Mark's and Sebb's suggestion I removed the "asserts" that I have

been using. That increased the performance of JMeter and it started firing

more frequent requests. I am going to execute the full test tonight and

hoping to see good results tomorrow. :-)


Thanks very much everyone !


- Niket


 

-----Original Message-----

From: Geschelin, Mark [mailto:[EMAIL PROTECTED] 

Sent: Monday, January 31, 2005 11:35 PM

To: 'JMeter Users List'

Subject: RE: HELP Req: JMeter closes abruptly ...


I had a similar problem.  The issue for me is in debugging my script I left

a assertion listener in it.  Which was logging everything.  This is like

having a built in memory leak in your script.  Be sure especially if you are

running long duration tests that you minimize these things 



Mark Y. Geschelin


-----Original Message-----

From: Daniel Browne [mailto:[EMAIL PROTECTED] 

Sent: Monday, January 31, 2005 11:04 AM

To: JMeter Users List

Subject: Re: HELP Req: JMeter closes abruptly ...


I'm not too sure as I'm not really talking from experience with JMeter 

however I would give it a try and see what happens.


Niket Redkar wrote:


> Thanks Daniel. I have already tried this. I changed the heap memory from

> 256MB to 384MB. i.e. I have changed the settings to:

> 

> Set HEAP=-Xms256 -Xmx384m

> 

> But it did not solve the problem. The JMeter client machine has 512MB

> memory. Do you think increasing the heap further will solve the issue?

> 

> Thanks again,

> - Niket

> 

> -----Original Message-----

> From: Daniel Browne [mailto:[EMAIL PROTECTED] 

> Sent: Monday, January 31, 2005 6:02 PM

> To: JMeter Users List

> Subject: Re: HELP Req: JMeter closes abruptly ...

> 

> Perhaps edit your jmeter.bat file and increase the available memory for 

> the JVM.  Change the line:

> 

>    set HEAP=-Xms256m -Xmx256m

> 

> Cheers,

> Daniel.

> 

> Niket Redkar wrote:

> 

> 

>>Sorry to bother you again. Here is a bit more info that I found on the

>>JMeter Dos window. There is an error as: 

>>

>> 

>>

>>[GC

>>

>>Exception java.lang.OutOfMemoryError: requested 176 bytes for promotion.

> 

> Out

> 

>>of

>>

>>swap space?

>>

>> 

>>

>>The machines on which I am executing JMeter have following configuration:

>>PIV 1.8GHz+, 512MB RAM, Page File: 768MB - 1280MB

>>

>> 

>>

>>Thanks for your time.

>>

>> 

>>

>>- Niket

>>

>> 

>>

>> 

>>

>>-----Original Message-----

>>From: Niket Redkar [mailto:[EMAIL PROTECTED] 

>>Sent: Monday, January 31, 2005 5:37 PM

>>To: 'JMeter Users List'

>>Subject: RE: HELP Req: JMeter closes abruptly ...

>>

>> 

>>

>>Hi,

>>

>> 

>>

>> 

>>

>> 

>>

>>I again executed the script today and faced the same issue. I monitored

>>

>>memory and processor utilization on all the JMeter client machines and

> 

> found

> 

>>that processor utilization reaches 100% on all the machines and then

> 

> JMeter

> 

>>gets closed abruptly. 

>>

>> 

>>

>> 

>>

>> 

>>

>>I also tried executing the script in non-UI mode but faced the same issue.

>>

>> 

>>

>> 

>>

>> 

>>

>>Has anyone faced this problem? How did you overcome that?

>>

>> 

>>

>> 

>>

>> 

>>

>>I do not have problems in executing other scripts for the same

> 

> application.

> 

>>Problem only lies with this script.

>>

>> 

>>

>> 

>>

>> 

>>

>>Please help.

>>

>> 

>>

>> 

>>

>> 

>>

>>Thanks,

>>

>> 

>>

>>Niket

>>

>> 

>>

>> 

>>

>> 

>>

>>-----Original Message-----

>>

>>From: Niket Redkar [mailto:[EMAIL PROTECTED] 

>>

>>Sent: Saturday, January 29, 2005 12:04 PM

>>

>>To: jmeter-user@jakarta.apache.org

>>

>>Subject: HELP Req: JMeter closes abruptly ...

>>

>> 

>>

>> 

>>

>> 

>>

>>Hi,

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>>I am facing a problem with JMeter. I am using 5 machines to emulate a load

>>

>> 

>>

>>of 100 users. i.e. each machine emulates a load of 20 users. When I start

>>

>> 

>>

>>the execution of scripts, JMeter closes abruptly after some time. I

> 

> checked

> 

>> 

>>

>>the event log but there is no event logged at that time. I checked the

>>

>> 

>>

>>JMeter log files as well but there is no info there. Please help me solve

>>

>> 

>>

>>this problem. Let me know if I need to change the configuration of JMeter

>>

>> 

>>

>>and how I can do that.

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>>Thanking in anticipation,

>>

>> 

>>

>> 

>>

>> 

>>

>>-- Niket

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

>> 

>>

> 

> 

> ---------------------------------------------------------------------

> 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]


-- 

This message has been scanned for viruses and

dangerous content by OpenProtect(http://www.openprotect.com), and is

believed to be clean.



-- 

This message has been scanned for viruses and

dangerous content by OpenProtect(http://www.openprotect.com), and is

believed to be clean.



---------------------------------------------------------------------

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]


-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to