• Post Reply Bookmark Topic Watch Topic
  • New Topic

JAMON

 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i track memory leaks in my application server using JAMON?
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAMon is an api that allows you to track any numbers associated with a label. To track memory you would need to make a call to store the memory of your application at given points. For example if you have a filter or aop you could make a call similar to the following every time a page was requested.




or you could track memory during each page invocation. Something like the following. The key is to find only one place in your code to make this call.


 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks steve for the prompt reply
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!