Dukascopy
 
 
Wiki JStore Search Login

tester - only Creating data loading threads
 Post subject: tester - only Creating data loading threads Post rating: 0   New post Posted: Wed 12 Mar, 2014, 14:06 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
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


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Tue 08 Apr, 2014, 19:53 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
Hello support,

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

Lifon


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Tue 08 Apr, 2014, 20:03 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
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.


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Wed 09 Apr, 2014, 05:44 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
To tcsabina: I only have problem with big amount of selected instruments.


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Tue 15 Apr, 2014, 10:52 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
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 155 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Thu 17 Apr, 2014, 13:14 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1045
Location: Geneva, Switzerland
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.


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Thu 17 Apr, 2014, 14:13 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
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.


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Thu 17 Apr, 2014, 14:44 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1045
Location: Geneva, Switzerland
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".


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Thu 17 Apr, 2014, 15:07 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
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!


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Thu 24 Apr, 2014, 10:31 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
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!


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Fri 25 Apr, 2014, 08:25 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1045
Location: Geneva, Switzerland
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.


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Fri 25 Apr, 2014, 09:26 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
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.


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Wed 30 Apr, 2014, 06:27 
User avatar

User rating: 0
Joined: Mon 11 Mar, 2013, 00:00
Posts: 47
Location: Colombia, manizales
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.


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Wed 30 Apr, 2014, 12:13 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
I tried it today on demo and problem is yet lasting.

To juandata: Your problem could have another reason.


 
 Post subject: Re: tester - only Creating data loading threads Post rating: 0   New post Posted: Wed 30 Apr, 2014, 20:48 
User avatar

User rating: 0
Joined: Mon 11 Mar, 2013, 00:00
Posts: 47
Location: Colombia, manizales
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.


 

Jump to:  

cron
  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com