@scizo, Your default command line for TWS probably looks like this (mine is on Vista 64 bit):
C:\Windows\SysWOW64\javaw.exe -cp jts.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx512M jclient/LoginFrame C:\Jts
If you haven't already, download and install JDK (not JRE) from sun's website. You want 32 bit. Then change the TWS command line to something like (depending on where you install your brand new 32 bit JDK, and after keeping backup of current command line, of course):
"c:\Program Files (x86)\Java\jdk1.6.0_17\bin"\java -server -cp jts.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx512M jclient/LoginFrame C:\Jts
You can up the -Xmx512M parameter (like 1024M to allocate 1 GB), but I think that is overkill and should not be necessary. My machine has 6 GB of RAM, but I can't even begin to explain how much shit my machine runs on a continuous basis. Intel quad core 2.4GHz processor.