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

tester - only Creating data loading threads
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=85&t=50907
Page 1 of 1

Author:  lifon [ Wed 12 Mar, 2014, 14:06 ]
Post subject:  tester - only Creating data loading threads

I select in tester 20 instruments (no one exotic) and run tester. Tester show only “Creating data loading threads”. It take more than 15 minutes. To stop tester I need close platform (JForex). I had this problem more times last week. And last months too.

Please help. I need to test. Thanks.

Lifon

Author:  lifon [ Tue 08 Apr, 2014, 19:53 ]
Post subject:  Re: tester - only Creating data loading threads

Hello support,

please help. I constantly have this problem (I select max. 33 instruments).

Lifon

Author:  tcsabina [ Tue 08 Apr, 2014, 20:03 ]
Post subject:  Re: tester - only Creating data loading threads

What if you only select a few (3) instruments? Do you have the same situation?

During the 1st phase of the Historical Test, there is some data being downloaded (updated?). I can imagine that when you have dozens of instrument selected, lots of data must be downloaded before the actual testing can start.

Author:  lifon [ Wed 09 Apr, 2014, 05:44 ]
Post subject:  Re: tester - only Creating data loading threads

To tcsabina: I only have problem with big amount of selected instruments.

Author:  lifon [ Tue 15 Apr, 2014, 10:52 ]
Post subject:  Re: tester - only Creating data loading threads

I tried it today on demo account. I selected 33 instruments (no one exotic). I use empty strategy (only IStrategy - attachment). After 90 minutes i was seeing only “Creating data loading threads” and I stopped it. I use Windows Web Server 2008, Last week, All ticks.

Support could you repair it?

Thanks very much

Lifon

Attachments:
StrategyEmpty.java [1.14 KiB]
Downloaded 158 times

Author:  Platform Support [ Thu 17 Apr, 2014, 13:14 ]
Post subject:  Re: tester - only Creating data loading threads

It was not said what time range did you choose, but I think this is due to historical price data being downloaded.

Lets take EUR/USD for example. There are around 3.4GB of historical ticks data. Multiply it by the number of instruments (roughly) anf you get around 100GB to download.

Author:  lifon [ Thu 17 Apr, 2014, 14:13 ]
Post subject:  Re: tester - only Creating data loading threads

I now on demo use Historical Data manager and download week ticks data all 52 instruments. It took only 10 minutes (654 MB).
Downloading is not problem.

Author:  Platform Support [ Thu 17 Apr, 2014, 14:44 ]
Post subject:  Re: tester - only Creating data loading threads

Make sure you have subscribed to all the instruments neccessary. For this, right click to open context menu in instruments panel (left side of the platform) and "Add all".

Author:  lifon [ Thu 17 Apr, 2014, 15:07 ]
Post subject:  Re: tester - only Creating data loading threads

In tester I don't want to select all. In Historical Data manager I select all (check box in title row).

I started on demo test. Empty strategy, 34 instruments, only Last day, all ticks, non visual.
After 30 minutes I see: Creating ....
After 60 minutes I see: Creating ....
After 90 minutes I see: Creating ....
After 1 hour I see: Creating ....
After 2 hours I see: Creating ....
After 3 hours I see: Creating ....
I stopped test. But it continues work. I must close platform.
I think. Problem is NOT on my side!

Author:  lifon [ Thu 24 Apr, 2014, 10:31 ]
Post subject:  Re: tester - only Creating data loading threads

I today started on demo again test. Empty strategy, 34 instruments, only Last day, all ticks, non visual.
After 82 minutes I see: Creating ....
I stopped test. But it continues work. I must close platform.

I selected 16 or 22 instruments and test starts in less then one minute.

If I selected 26 instruments I only see: Creating ....

23 and more selected instruments is big problem!

Author:  Platform Support [ Fri 25 Apr, 2014, 08:25 ]
Post subject:  Re: tester - only Creating data loading threads

This is the reason:
25.04.2014 10:01:20.790 SEVERE datacache.bz ] unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread

There is not RAM memory allocated for the JAVA process running the platform. In order to avoid this at the moment, you need to increase the max heap size.

In order to do that, you need to edit the platform web-start launch file .jnlp.
Click on the link on our website to launch the platform.
Open the browser downloads folder and locate JForex.jnlp file.
Edit it with text editor (like notepad).
Locate the row:
<java version="1.6+" initial-heap-size="32m" max-heap-size="512m"/>
and change to
<java version="1.6+" initial-heap-size="32m" max-heap-size="1024m"/>
or more if you wish.
Save this file and launch this one from now on.

We will amend this by creating less amount of threads in the future platform releases.

Author:  lifon [ Fri 25 Apr, 2014, 09:26 ]
Post subject:  Re: tester - only Creating data loading threads

But I have allowed max heap size 999 M several months ago. And platform show heap size less then 250 M.
And platform didn't show this error. It could be help me.

Today on the morning I installed new version of Java.

I on demo tried test with 30 selected instruments (Last Day, empty strategy, all ticks). It worked.
But all selected instruments is a problem. I have more then 2000M free. Heap size was max 206M.

I on live tried 33 selected instruments (this I need) and I only see Creating.... Heap size was max 118 M. (allowed 999 M).
I had free 2400 M.

Author:  juandata [ Wed 30 Apr, 2014, 06:27 ]
Post subject:  Re: tester - only Creating data loading threads

Hello guys, have you fixed this problem? I haven´t been able to see reports of a strategy runing on 10 years (tick data), reports only create like 50.000 positions (like one year) other 9 years do not appear in reports. This is pretty bad since I haven´t been able to analyze all mi strategy. I also changed max-heap-size="8192m, but jforex still not show all report.

Author:  lifon [ Wed 30 Apr, 2014, 12:13 ]
Post subject:  Re: tester - only Creating data loading threads

I tried it today on demo and problem is yet lasting.

To juandata: Your problem could have another reason.

Author:  juandata [ Wed 30 Apr, 2014, 20:48 ]
Post subject:  Re: tester - only Creating data loading threads

Hi lifon, I incresed the heap size and it solved the problem. I found that I had to clear all jforex data cache (not the one where bi5 files are saved) , change the java version to 64 since it is necesary not only to download the 64 version, but also install it in program files (not program files x86). I hope this can help you.

  Page 1 of 1