2009/9/24 Ronan Klyne <[email protected]>:
> Hi all,
>
> I've got a fairly sizeable test plan with several thread groups in in,
> configured to run consecutively.
>
> These thread groups run the same test (a large test, linked to with a module
> controller) with increasing numbers of users, from 2 to 20, in steps of 2.
>
> I can successfully run the test for 20 users (having disabled the other
> thread groups), but I cannot run the full set.
> When I run the whole lot together I get memory errors upon reaching the 20th
> thread group.

Can you give JMeter more memory?

> I can't see any reason why this should be the case, so I come to you for
> help... To my knowledge, there should not be any data preserved between
> thread groups, and therefore there should be no memory used between thread
> groups.
>
> I don't have any Java samplers, but there are a couple of beanshell samplers

There are some reports that BeanShell can leak memory.

> and pre/post processors for which I have checked the code and found no
> variables that would be left around aside from those I put in the
> JMeterVariables construct exposed as 'vars', which are meant to be cleaned
> between thread groups, if I understand correctly.
>
> I have also removed all listeners except one data writer.
>
> I cannot explain why I can run tests independently, but I can't run them all
> in one JMeter process. Any ideas?

If you can't fix the problem, why not create a test with a single
thread group, and use a property to define the thread count.

You can then create a script to run the test repeatedly, passing in
the appropriate thread count.

> Thanks in advance,
>
>   Ronan
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to