You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Soysal, Aykut" <ay...@logica.com> on 2011/05/04 16:41:23 UTC
JMS with large files
Hi,
I am trying to load test my ActiveMQ 5.5.0 with JMeter 2.4 with large
files (not that large but I tried with 8 and 24 MB)
I setup two Thread Groups (one with a single publisher, the other with a
single subscriber)
In my test case I need to test 6 messages per minute, so I set number of
threads (users) to 60 and Ramp-up to 600 since I want to run the test
longer than a minute.
(maybe my setup is not right for what I am trying to accomplish)
So after a while I get the out of memory error. It seems that the text
file is loaded every time and they all piled up in the memory.
I tried to turn off listeners but still I get the same error.
I searched the mailing list but I couldn't find anything specific for
this.
It would be great if someone lead me to the correct path
Thanks,
Aykut Soysal
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Re: JMS with large files
Posted by sebb <se...@gmail.com>.
2011/5/9 Soysal, Aykut <ay...@logica.com>:
> Hi,
> I change my setup as you suggested, so I have now 1 user with 100 requests,
OK, so fewer concurrent threads means lower maximum memory size.
> reading randomly from a number of files in a folder without any memory problems.
> And I am using Constant Throughput Timer to adjust the message per minute.
>
> Thank you,
Thanks for letting us know how the problem has been sorted.
> Aykut Soysal
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Friday, May 06, 2011 1:38 AM
> To: JMeter Users List
> Subject: Re: JMS with large files
>
> On 4 May 2011 15:41, Soysal, Aykut <ay...@logica.com> wrote:
>> Hi,
>>
>> I am trying to load test my ActiveMQ 5.5.0 with JMeter 2.4 with large
>> files (not that large but I tried with 8 and 24 MB)
>
> Are these sizes representative of the actual load you are trying to test?
>
> The JMS API only seems to allow TextMessage types to be populated from
> a String, so the entire file will have to be read into memory.
>
>> I setup two Thread Groups (one with a single publisher, the other with a
>> single subscriber)
>>
>> In my test case I need to test 6 messages per minute, so I set number of
>> threads (users) to 60 and Ramp-up to 600 since I want to run the test
>> longer than a minute.
>>
>> (maybe my setup is not right for what I am trying to accomplish)
>
> You need a Constant Throughput Timer to set the appropriate rate.
>
> The ramp-up does not control test duration directly, that mainly
> depends on the number of samples sent (loops) and the sample rate.
>
> I suggest you try experimenting with a dummy test using Java Samplers
> to see how the Timers work.
>
>> So after a while I get the out of memory error. It seems that the text
>> file is loaded every time and they all piled up in the memory.
>
> See above.
>
>> I tried to turn off listeners but still I get the same error.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
> Think green - keep it on the screen.
>
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: JMS with large files
Posted by "Soysal, Aykut" <ay...@logica.com>.
Hi,
I change my setup as you suggested, so I have now 1 user with 100 requests,
reading randomly from a number of files in a folder without any memory problems.
And I am using Constant Throughput Timer to adjust the message per minute.
Thank you,
Aykut SoysalÂ
-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Friday, May 06, 2011 1:38 AM
To: JMeter Users List
Subject: Re: JMS with large files
On 4 May 2011 15:41, Soysal, Aykut <ay...@logica.com> wrote:
> Hi,
>
> I am trying to load test my ActiveMQ 5.5.0 with JMeter 2.4 with large
> files (not that large but I tried with 8 and 24 MB)
Are these sizes representative of the actual load you are trying to test?
The JMS API only seems to allow TextMessage types to be populated from
a String, so the entire file will have to be read into memory.
> I setup two Thread Groups (one with a single publisher, the other with a
> single subscriber)
>
> In my test case I need to test 6 messages per minute, so I set number of
> threads (users) to 60 and Ramp-up to 600 since I want to run the test
> longer than a minute.
>
> (maybe my setup is not right for what I am trying to accomplish)
You need a Constant Throughput Timer to set the appropriate rate.
The ramp-up does not control test duration directly, that mainly
depends on the number of samples sent (loops) and the sample rate.
I suggest you try experimenting with a dummy test using Java Samplers
to see how the Timers work.
> So after a while I get the out of memory error. It seems that the text
> file is loaded every time and they all piled up in the memory.
See above.
> I tried to turn off listeners but still I get the same error.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: JMS with large files
Posted by sebb <se...@gmail.com>.
On 4 May 2011 15:41, Soysal, Aykut <ay...@logica.com> wrote:
> Hi,
>
> I am trying to load test my ActiveMQ 5.5.0 with JMeter 2.4 with large
> files (not that large but I tried with 8 and 24 MB)
Are these sizes representative of the actual load you are trying to test?
The JMS API only seems to allow TextMessage types to be populated from
a String, so the entire file will have to be read into memory.
> I setup two Thread Groups (one with a single publisher, the other with a
> single subscriber)
>
> In my test case I need to test 6 messages per minute, so I set number of
> threads (users) to 60 and Ramp-up to 600 since I want to run the test
> longer than a minute.
>
> (maybe my setup is not right for what I am trying to accomplish)
You need a Constant Throughput Timer to set the appropriate rate.
The ramp-up does not control test duration directly, that mainly
depends on the number of samples sent (loops) and the sample rate.
I suggest you try experimenting with a dummy test using Java Samplers
to see how the Timers work.
> So after a while I get the out of memory error. It seems that the text
> file is loaded every time and they all piled up in the memory.
See above.
> I tried to turn off listeners but still I get the same error.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org