Dukascopy Support Board

Launching JForex with more memory (greater heap size)
Page 1 of 1

Author:  Isak [ Fri 28 Sep, 2012, 12:10 ]
Post subject:  Launching JForex with more memory (greater heap size)

For anyone else who needs to run jforex in Windows with increased heap size but doesn't want to manually maintain a local copy of jforex.jnlp, in case it goes out of date, here is a batch file that downloads it and modifies the max heap size parameter on each launch:

@REM Use 'batch file parameter modifiers' to first change current directory to where this batch file resides
cd %~p0
del .\jforex.jnlp
"C:\Program Files (x86)\GnuWin32\bin\wget" --no-check-certificate https://www.dukascopy.com/client/demo/jclient/jforex.jnlp
.\ssr 0 max-heap-size=''512m'' max-heap-size=''4096m'' jforex.jnlp
javaws -J-Djnlp.client.username=DEMO2OMDAa -J-Djnlp.client.password=OMDAa .\jforex.jnlp

It requires:

Author:  Isak [ Thu 04 Oct, 2012, 01:56 ]
Post subject:  Re: Launching JForex with more memory (greater heap size)

I could be mistaken, but I don't think I filed this under feature requests. The post above is actually a solution to the problem described in the title.

  Page 1 of 1