Quote from syswizard:
Starting with Java V 1.5, new memory usage parameters have been made available.
However, implementing them is a bit tricky:
1) create a file in the c:\windows\Sun\Deployment subdirectory. A file named deployment.config must be present.
(Note: do not use Notepad, use a good editor like Visual Slickedit that recognizes end-of-line characters properly)
2) insure these two entries are in the above file:
deployment.system.config=c:\\windows\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory=false
3) search your hard drive for a deployment.properties file.
Copy that file to the above directory.
4) Edit the file and add this line or edit the existing line:
deployment.javapi.jre.1.5.0_11.args=-XXefaultMaxRAM=512m
(The smiley above is a "D")
The above assumes you are running the latest Java 1.5 JRE. Check your control panel Java icon to see which one you are running.
Also, the above uses 512 mb of ram; if you have 2 gigs, you may want to move that up to a value of 1024m.
Another parameter related to garbage collection is this:
-Xincgc
This will cause the JVM to perform garbage collection in parallel mode with a separate thread.
The -Xincgc can just be added to the above args parm value with a leading space.
Wow, and here I am mistakenly thinking that I know few things about computers. Thanks for this info.
I had TWS minimized last night, but the size of javaw.exe did not increase even a bit. There were several files with this name, and their size was about 50kb.
I only trade 1 product at a time.
redduke
efaultMaxRAM=512m