I'm running TC 6 in "development mode", eg. the application classes are changing constantly and I want to see the latest version with minimal hassle.
For a while I was using the TC HTML 'manager' application to reload; this worked up to a point, but I kept getting OOM errors after a while. Surfing suggested that TC has a leak when reloading this way. Plus it was a hassle, the extra step after compiling every time.
So I switched to setting 'reloadable true' in the context.xml file. This worked up to a point and didn't require any extra steps, but again I keep getting OOM errors (less frequently, but still many times a day). More surfing suggests that there may be TC leaks in here also.
If I run the app with 'reloadable true' but don't recompile anything, or with 'reloadable false', it runs forever (and VisualVM thinks it is OK memory-wise).
So I am kind of coming to the conclusion that every time I recompile a class I should fully restart TC. This is a huge pain but maybe better than random periodic OOM crashes. Just wondered if anyone had any better ideas. Maybe I should try a different container.
Cheers and thanks!