Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Can't put a higher Heap size anymore
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=81&t=50498
Page 1 of 1

Author:  nicofr0707 [ Tue 10 Dec, 2013, 09:07 ]
Post subject:  Can't put a higher Heap size anymore

Hi,

For my testing I often need to increase the max-heap-size of the jnlp file in order
to test my multi-instruments strategies.

Here is the line :

Quote:
<java version="1.6+" initial-heap-size="32m" max-heap-size="4096m"/>


Lately, the tester is rapidly lagging, so I checked the memory heap in the JForex GUI and it says
max size : 455Mb. My strategies are often reaching easily 3Gb but not now.

It seems that Jforex does not anymore take into account the max-heap-size specified in the jnlp file.

Thanks for the help.

Nicolas

Author:  nicofr0707 [ Tue 17 Dec, 2013, 14:42 ]
Post subject:  Re: Can't put a higher Heap size anymore

Hello

Someone moved this post from the automated trading forum to the Faq but no response ?
This is annoying, the tester does rapidly reach the default 512m heap size and then backtests are taking an eternity !

Thanks support for the response, I'm waiting since a week.

Kind regards.

Author:  nicofr0707 [ Tue 17 Dec, 2013, 17:23 ]
Post subject:  Re: Can't put a higher Heap size anymore

OK, I am using Java 1.6.

I have installed Java 1.7 and it works now.

bye

Author:  hyperscalper [ Tue 17 Dec, 2013, 20:01 ]
Post subject:  Re: Can't put a higher Heap size anymore

I've noticed that Java 6 Update 45 Java Web Start fails to set the heap
size, often on the "first run" after some component downloads. But,
thereafter, the JForex platform launches do respect the revised heap size values.

So, as usual, it's Java Web Start that has "gotchas". :)

HyperScalper

Author:  nicofr0707 [ Wed 18 Dec, 2013, 10:53 ]
Post subject:  Re: Can't put a higher Heap size anymore

I never had this issue before with Java 1.6 u45.

It does work now, that's all what matters ;-)

best regards.

Author:  Eric [ Mon 13 Oct, 2014, 08:28 ]
Post subject:  Re: Can't put a higher Heap size anymore

Hello,

Is there a way to set the max heap size higher than 1024m ? I am trying to set it to 2048m but the platform doesn't start. The max value I can start the platform is 1024m.

I am using Java 7 Update 67 (build 1.7.0_67-b01) and JForex API ver.2.10.3 ... on Windows 8 64bit.

Thank you for your help.

  Page 1 of 1