Vita Rara: A Life Uncommon

OutOfMemoryException

Just came across this rather interesting post, and have been integrating the interceptor into one of my applications. An interesting point I believe (although have not yet encountered) is that the interceptor uses an internal map for managing conversations, however if enough users start a conversation but never finish it (say across 4 actions for example with the first creating the conversation model and the last being the 4th action will return true via isConversationFinished where the other three return false) and the user moves away to another page after action 1 or 2 then eventually the JVM will encounter an OutOfMemoryException as the map does not seem to release a pointer to the conversation model.

This is quite a valid assumption? Or am I going mad after a long day at work?

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
  • Allowed HTML tags: <a> <img> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.
More information about formatting options