wood burning stoves 2.0*
The moose likes Blog around the Campfire and the fly likes My Blog Post - Java Memory Usage Monitoring Without Profiling Tools Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Other » Blog around the Campfire
Bookmark "My Blog Post - Java Memory Usage Monitoring Without Profiling Tools" Watch "My Blog Post - Java Memory Usage Monitoring Without Profiling Tools" New topic
Author

My Blog Post - Java Memory Usage Monitoring Without Profiling Tools

Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

Hi,

I blog at allzhere . Being in a department that does not allow installing tools related to profiling and other monitoring features; following is a link about a concept i leveraged at work to monitor web applications memory usage :

Java Memory Usage Monitoring Without Profiling Tools


Thanks,
Tarun Trehan (http://allzhere.in)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
In such situations I generally strive to enable remote JMX on the JVM, so that tools such as VisualVM can be used to connect to to and take a look at what's going on inside of the JVM (and get heap and thread dumps if necessary) The enabling consists merely of setting properties at JVM startup time, so nothing needs to be installed; that should make it palatable to most sys admins.


Ping & DNS - my free Android networking tools app
Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

Thanks Ulf.

I haven't explored this option; but sounds simple enough to implement.
Though, i may not be able to implement this in near future;but will post my experience.
Jayesh A Lalwani
Bartender

Joined: Jan 17, 2008
Posts: 2274
    
  28

The problem with JMX console is that the port needs to be opened, and that can be problematic. Also, you can change things using JMX, and I believe also inspect your HTTP sessions. If for some reasons, your developers have to be isolated from client data, Sys admins will not give you access because it is too versatile to give in developer hands. For us, the happy medium has been that when there are performance problems, the support team gives us thread/heap dumps, and we analyze it using the tools that we have. You don't need to install anything on the production machines

Obviously having JConsole is very nice, and I've been trying to educate our support people in JConsole, so they see the value in it, and install it
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My Blog Post - Java Memory Usage Monitoring Without Profiling Tools
 
Similar Threads
Java Memory Monitoring in Web Application
Please recommend a profiler tool
Technical question
Query regarding to know the memory leaks in Application
Very good site for Best Practices to be followed