• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • kkannaiy
  • Reporter: steve
  • January 27, 2008
  • 0
  • Watchers: 0
  • February 12, 2013
  • May 15, 2008

Description

I’d like to see our processes log heap stats every 15 minutes by default into our logs.

Comments

Geert Bevin 2008-04-03

So you’d like this to be happening, disregarding if the CVT is actually running or not?

Steve Harris 2008-04-03

yep

Kalai Kannaiyan 2008-07-08

Tested with Terracotta trunk-nightly-rev9063, as of 20080707-210708 (Revision 9063 by [email protected] from trunk), the heap stats are logged for every 15 minutes as expected.

Steps:

  1. Install the kit
  2. Launch the sample application launcher
  3. Launch the shared editor demo
  4. Launch the admin console

Actual: Heap stats are logged by default into terracotta-server.log

2008-07-08 13:31:40,781 [Statistics Logger] INFO com.terracottatech.dso - memory free : 241723744 2008-07-08 13:31:40,781 [Statistics Logger] INFO com.terracottatech.dso - memory used : 23041696 2008-07-08 13:31:40,781 [Statistics Logger] INFO com.terracottatech.dso - memory max : 264765440 2008-07-08 13:46:40,781 [Statistics Logger] INFO com.terracottatech.dso - memory free : 250581624 2008-07-08 13:46:40,781 [Statistics Logger] INFO com.terracottatech.dso - memory used : 14183816 2008-07-08 13:46:40,781 [Statistics Logger] INFO com.terracottatech.dso - memory max : 264765440