|
Big computer slowdown after a heavy multicurrency backtest |
nicofr0707
|
Post subject: Big computer slowdown after a heavy multicurrency backtest |
Post rating: 0
|
Posted: Thu 24 May, 2012, 08:25
|
|
User rating: 5
Joined: Fri 02 Sep, 2011, 10:08 Posts: 157 Location: FranceFrance
|
Hi,
I am backtesting a strategy working with 21 currency pairs with visual mode enabled in the tester. Let's say I'm testing for one year.
In order for the test to work fine I had to modify the JNLP file with max-heap-size="6000m". I have 12GB of RAM on a Windows 7 64 bits.
The one year test goes well. During the test, the max memory usage is about 3GB so JForex does not lag.
Then come the troubles :
1 - After the backtest, when I exit JForex, the javaw process stays open and uses about 3GB of memory even if JForex GUI is closed. So I have to force the close from the task manager.
2 - Even after a restart of the computer, when I try to open JForex again it takes sometimes 10 minutes for the login window to open. My HDD is working hard during this time.
Please do you know what's happening ? it seems to me it is clearing some big cache or memory usage. Is this a JForex issue, a JVM issue ? Maybe there is some way to optimize things.
Thanks for the help.
Best regards.
|
|
|
|
 |
Platform Support
|
Post subject: Re: Big computer slowdown after a heavy multicurrency backtest |
Post rating: 0
|
Posted: Thu 24 May, 2012, 16:32
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
We will look into this, but in general, most probably the OS is trying to free up the 3GB of RAM after the paltform close. This could take some time as it is quite much.
|
|
|
|
 |
nicofr0707
|
Post subject: Re: Big computer slowdown after a heavy multicurrency backtest |
Post rating: 0
|
Posted: Fri 25 May, 2012, 09:28
|
|
User rating: 5
Joined: Fri 02 Sep, 2011, 10:08 Posts: 157 Location: FranceFrance
|
It seems to me, that it comes from the JVM. After a big backtest, if I restart the computer and then run another java based application, it does take a long time to start too.
Every recommendation about optimizing JForex/Java/OS based on your knowledge would be very welcome.
Have a nice Week end !
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|