Quote from ddecker:
It's interesting that it's happening well before hitting 1G. Could you post the log itself?
Perhaps the TWS code is getting a little overzealous in it's memory micromanagement. For kicks, try the following:
add:
-XX:+DisableExplicitGC
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XXermSize=256m
change:
-XX:MaxPermSize=256m
I had another test with these parameters. With this setting, Gateway crashes after some hours as well, after memory usage gets to around 1.1 GB. For some reason, when I try to open the log file with HPjmeter, I get the failure message below.
ermSize=256m