You could also try starting your (Sun) JVM with the -Xincgc option and see if incremental garbage collection has any effect. We use thrift java servers on a number of projects and have been able to keep them stable for months at a time (although we are likely using an older snapshot than you are).
I assume the memory creep is causing you issues, not just sleepless nights? As Bryan mentioned Java (usually) will only GC when it actually runs out of allocated heap. K On 15 March 2010 15:03, Phillip B Oldham <[email protected]> wrote: > On Mon, Mar 15, 2010 at 2:57 PM, Bryan Duxbury <[email protected]> wrote: > > How long do your Java servers run before needing a restart? > > Currently about 72hrs, although that depends of the amount of data > that is passed to it for processing. Earlier today I processed a > rather large dataset and it quickly jumped to an unreasonable size > that persisted for a few hours before I restarted the process. > > -- > Phillip B Oldham > [email protected] > +44 (0) 7525 01 09 01 > -- Regards, Dr Kris West BSc. PhD. Tel (US): +1 217 883 4553 Tel (UK): +44 (0)1986 788785 Tel (UK - Mob): +44 (0)7842 897172 Skype: kriswest
