|
Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Smackenn
|
Post subject: Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Post rating: 0
|
Posted: Tue 04 Dec, 2012, 10:49
|
|
User rating: 0
Joined: Mon 09 Jul, 2012, 14:09 Posts: 17 Location: Ireland,
|
Hi, Some time ago the historical tester in both the live and demo systems started to run very slowly, sometimes stopping altogether in the middle of a run. When this happens the Task Manager shows that CPU usage is running at 100%. This is not normal.
Can you suggest why this might be happening and how it can be fixed?
|
|
|
|
 |
Platform Support
|
Post subject: Re: Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Post rating: 0
|
Posted: Tue 04 Dec, 2012, 12:22
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
Most probably there is some problem in the code of your strategy. We could investigate it if you could provide the source code.
Or maybe the test is so complicated that it is not enaugh with the memory allocated for the JAVA by default. You can chage the default setting of 512MB to something more. In order to do this, please edit the .jnlp file you download from the website everytime you launch the platform. Change this line: <java version="1.6+" initial-heap-size="32m" max-heap-size="512m"/>
to e.g. 1GB
<java version="1.6+" initial-heap-size="32m" max-heap-size="1024m"/>
Save and launch it
|
|
|
|
 |
Smackenn
|
Post subject: Re: Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Post rating: 0
|
Posted: Tue 04 Dec, 2012, 14:23
|
|
User rating: 0
Joined: Mon 09 Jul, 2012, 14:09 Posts: 17 Location: Ireland,
|
Many thanks for that and for the fast response.
I have changed the memory allocation as suggested. There is an improvement but CPU usage is still well over 80% - 90% while the historical tester is running. Is this normal?
On the other hand launching the platform is now many, many times faster than it was.
Sincerely,
Seamus McKenna
|
|
|
|
 |
Smackenn
|
Post subject: Re: Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Post rating: 0
|
Posted: Tue 04 Dec, 2012, 14:50
|
|
User rating: 0
Joined: Mon 09 Jul, 2012, 14:09 Posts: 17 Location: Ireland,
|
Sorry - the improvement was something of an illusion. To test the system I loaded the Dukascopy MA_Play strategy. This is run exactly as published (see attached). I also attach herewith a .jpg screenshot of the platform with the Task Manager superimposed, showing CPU usage.
This problem started a few weeks ago but I hoped it would improve with time. It affects both the Demo and Live systems. The same problem is present on both my Desktop (Dual core processor with 500 GB HDD) and my laptop (same spec).
Hope you can help.
Seamus McKenna
Attachments: |
File comment: Screenshot
Hostorical tester.jpg [19.22 KiB]
Downloaded 454 times
|
File comment: Java file
MA_Play.java [4.39 KiB]
Downloaded 336 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.
|
|
|
|
|
 |
Smackenn
|
Post subject: Re: Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Post rating: 0
|
Posted: Tue 04 Dec, 2012, 14:54
|
|
User rating: 0
Joined: Mon 09 Jul, 2012, 14:09 Posts: 17 Location: Ireland,
|
Apologies - The last screenshot (previosu post) was saved incorrectly. Please find the full picture attached / SMcK
Attachments: |
File comment: Screenshot
Hostorical tester.jpg [222.9 KiB]
Downloaded 416 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.
|
|
|
|
|
 |
Platform Support
|
Post subject: Re: Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Post rating: 0
|
Posted: Wed 05 Dec, 2012, 10:20
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
The high CPU usage is a normal thing for such an operation with the Visual mode on. If the HT stops, probably the historical price data download is being downloaded. It should resume the test when the data are available again.
|
|
|
|
 |
Smackenn
|
Post subject: Re: Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Post rating: 0
|
Posted: Wed 05 Dec, 2012, 11:02
|
|
User rating: 0
Joined: Mon 09 Jul, 2012, 14:09 Posts: 17 Location: Ireland,
|
|
|
|
 |
xtremeforex
|
Post subject: Re: Historical tester has 100% CPU usage for all strategies, even older ones that were OK previously |
Post rating: 0
|
Posted: Mon 28 Jan, 2013, 04:08
|
|
User rating: 0
Joined: Mon 28 Jan, 2013, 01:58 Posts: 7 Location: CanadaCanada
|
Check whether you are running any Antivirus programs and if so, temporarily disable them.
I noticed a significant improvement when disabling anti-virus (or at least how it operates). However, do so at your own risk.
My guess is the anti-virus processes are constantly monitoring everything the historical tester does in memory.
xtremeforex
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|