| By Charles Rich | Article Rating: |
|
| January 22, 2013 10:00 AM EST | Reads: |
2,083 |
*&%#* The system is running slow again! Now what? Is there a space hog application sucking up all my resources? Did we just crash? No, must not say that word...must not say that word... ...still running, just sloooowly. I wonder if anything new has been installed… Nice if they told me. I overheard that something new might have been installed last week. Could there be a memory leak? Are they checking for one? Are they looking in the right place? Hide and seek with a leak is NO fun. How many times have you sat staring at your monitor until your eyes burn and blur, trying to figure out where the problem lies?

There are so many places to look for a leak, that it is virtually impossible to find manually. And how do I tell the difference between a leak and increased demand? The symptoms can be similar. It is important to analyze all of the leak possibilities, because at the end of the day, if you are leaking memory in the JVM, you will find an increase in the heap and an increase in GC activity, culminating in hangs or blocks and finally, OutOfMemory exceptions. If the Java code is meant to run on a server 24 hours a day, then memory leaks can become significant. Even the smallest leak in code that is run continuously will eventually result in the JVM exhausting all of the memory available.
Some examples of Memory Leak causes are:
- Handle Leak
- Class Loader Leak
- Thread Leak
- Unchecked arrays
- Bugs in the code
- Unchecked hash map growth
- Programmers forgetting to close prepared statements, sockets or file handles
Some of these problems are extremely difficult to troubleshoot. These leaks need to be found, addressed and handled ASAP. With the number of things an IT group has to handle on any given day, there just isn't the time or the manpower to take an exceptional amount of time to deal with manual leak detection. Automation is the only logical way to find them. To be notified when there is a possible leak detected and how to mitigate a JVM failure is the optimal solution. No headaches, no blurry vision, no screaming users. How good life could be. For more information on how you can automate your leak detection and ease the stress of your day, listen to the Nastel TechTalk, “Java Memory Leaks II – Detection to Diagnostics”
The post Where Is Your Focus For Memory Leak Detection? appeared first on Middleware-centric APM.
Read the original blog entry...
Published January 22, 2013 Reads 2,083
Copyright © 2013 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Charles Rich
Charles Rich is Vice President of Product Management at Nastel Technologies, a provider of middleware-centric application performance monitoring for mission-critical applications from the datacenter to the cloud. He is a software product management professional who brings over 27 years of technical hands-on experience working with large-scale customers to meet their application and systems management requirements.
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Windows Azure IaaS Reaches General Availability
- New Relic Q1 2013 Blazes Past Growth Targets and Reaches 40,000 Active Customer Accounts
- Enterasys Spotlights SDN's Impact on Traditional Networking in Upcoming Webinar
- NASA's Twitter Account Wins Back-To-Back Shorty Awards
- Big Data Isn’t About the Database, It’s About the Application
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- Basho Announces Open Source Riak CS and General Availability of Riak CS Enterprise v1.3
- Cloud Expo New York | Danger Ahead: Why File Sync Is NOT Endpoint Backup
- Charli XCX Sets US Headline Tour; High Profile Dates Celebrate Upcoming Debut Album Featuring the Hit Single, "You're The One" and the YouTube Smash, "You (Ha Ha Ha)"; UK Angel-Pop Sensation Takes Texas by Storm With Series of Spectacular SXSW Showcases;
- Symphony EYC Appoints New Account Manager to Drive Global Opportunities
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Cloud Expo New York Speaker Profile: Jill T. Singer – NRO
- Examining the True Cost of Big Data
- Cloud Expo New York: How to Use Google Apps Script
- Windows Azure IaaS Reaches General Availability
- Upcoming Domino's Pizza Investor Events
- New Relic Q1 2013 Blazes Past Growth Targets and Reaches 40,000 Active Customer Accounts
- Enterasys Spotlights SDN's Impact on Traditional Networking in Upcoming Webinar
- Rackspace Hosting Named “Platinum Plus Sponsor” of Cloud Expo New York
- NASA's Twitter Account Wins Back-To-Back Shorty Awards
- Scripps Networks Interactive’s Popular Lifestyle Shows from HGTV, DIY Network, Food Network, Cooking Channel and Travel Channel Coming to Prime Instant Video and Amazon Instant Video
- The Top 150 Players in Cloud Computing
- Who Are The All-Time Heroes of i-Technology?
- Where Are RIA Technologies Headed in 2008?
- Success, Arrogance, Rise and Fall
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Personal Branding Checklist
- The Top 250 Players in the Cloud Computing Ecosystem
- i-Technology Viewpoint: Attack of the Blogs
- Exclusive Q&A with Jeff Haynie, Co-Founder & CEO, Appcelerator
- Web 2.0 News and Wrapping Up "Real-World AJAX" Seminar
- Passing Parameters to Flex That Works
- i-Technology Viewpoint: It's Time to Take the Quotation Marks Off "Web 2.0"






















