Sorry,
Here is my code.:
int ticksPerMillisecond = 10000;

long yourTicks = (System.currentTimeMillis() * ticksPerMillisecond - 100000000);

//String strLong = Long.toString(yourTicks);
vars.put("Ticks", Long.toString(yourTicks));

From: Dan Zaitoun
Sent: Thursday, January 01, 2015 4:01 PM
To: '[email protected]'
Subject: jmeter script and jmeter memory problem

Hi,
I wrote a jmeter script that one of the steps is using groovy code(attached the 
code)
During the test I'm monitoring the jmeter process with jconsole. And I see that 
this code is increasing the PERM GEN of the JVM dramaticly and keep creating 
full gc.
I changed the jvm to 1024XMS and 1024XMS and 256 Perm gen(I attached the 
jconsole screen shot.
Is my code in the groovy is bad? Or it's something related to jmeter ?
[cid:[email protected]]
[cid:[email protected]]

[cid:[email protected]]Dan zaitoun 
||[email protected]<mailto:[email protected]>| 17 Hatidhar St., Raanana, 43665, 
Israel |  Mobile: +972-54-6880500 |

Reply via email to