175

Like many others my favourote shameless hack is a cronjob to restart our app server at 2am, thus preventing out of memory exceptions

Comments
  • 9
    Yep. This is a classic. Eat my ++.
  • 3
    I really hate this hack and it is everywhere
  • 3
    "My system does not leak memory."
  • 2
    Why not cronjob that just clears the memory?
  • 1
    Ohh no... Optimize those servlets to free up some memory after it reaches a certain limit...let's say 30%. Or a when it goes oom, it restarts itself...that's how we mange it.
Add Comment