Saidar wrote:
Hey Roadrunner,
I think I have a memory leak in my tester, I have 6gb memory and during a test all 6gb is being used with no free memory available. Any idea how to fix this?
Thanks
Hi Support,
I even noted that Historical Tester often increases the amount of used memory (heap reaches 400 Mb and the process javaw reaches 500 Mb)
and becomes estremly slowly.
To free memory I have two options:
1. restart Jforex platform
2. or in Java Console press the key "g" to recover memory space
I noted that it happens only when the method onTick contains instructions, so the Java console prints continuosly the following error message:
30.12.2010 21:28:20.594 SEVERE actions.StrategyTesterAction ] Exception thrown whiler running onTick method: null
java.lang.NullPointerException
at MyStrategy.onTick(MyStrategy.java:74)
at com.dukascopy.dds2.greed.agent.strategy.tester.l.run(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.l.vc(Unknown Source)
at com.dukascopy.dds2.greed.actions.StrategyTesterAction.tm(Unknown Source)
at com.dukascopy.dds2.greed.actions.StrategyTesterAction.sN(Unknown Source)
at com.dukascopy.dds2.greed.actions.c.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
When the method onTick is empty there isn't trouble, even if the time-frame in Historical tester is "Tick", at least in my backtestings.
Best regards,
Frank