Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAMon - implications if Monitor#stop is never reached

 
Myyron Murray Latorilla
Ranch Hand
Posts: 65
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Not sure if this topic is on the right category, please do advise.

For the subject, I'm wondering what are the implications if Monitor#stop is never reached in the code. Thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on the amount of data you're tracking. You could run out of memory at some point.
 
steve souza
Ranch Hand
Posts: 862
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not calling 'stop' has no effect on memory in jamon. The only result is that the 'active' number will continually climb, but the objects themselves will be properly garbage collected when the code goes out of scope.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic