Dukascopy
 
 
Wiki JStore Search Login

java.lang.OutOfMemoryError: PermGen space
 Post subject: java.lang.OutOfMemoryError: PermGen space Post rating: 0   New post Posted: Wed 27 Mar, 2013, 15:48 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
sometimes I get this error from the console while backtesting. It is on one computer only, if I test this on another computer this does not appear.
I use the same JForex and Java.
How can I solve this?


 
 Post subject: Re: java.lang.OutOfMemoryError: PermGen space Post rating: 0   New post Posted: Tue 02 Apr, 2013, 10:30 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
Your computer runs out of memory. Try the following:
Locate the .jnlp file you save every time you launch the platform.
Edit it and find the row:
<java version="1.6+" initial-heap-size="32m" max-heap-size="512m" />
Increase the max heap:
<java version="1.6+" initial-heap-size="32m" max-heap-size="1024m" />
Save and launch the file.

If that helps, you may use this .jnlp until new version of JForex comes out. You will need to update the file then, as the platform may not launch.


 

Jump to:  

  © 1998-2025 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