Memory

Fighting Technical Debt: Memory Leak Detection in Production

Thanks to our friends from Prep Sportswear who let me share their memory leak detection story with you. It is a story about “fighting technical debt” in software that matured over the years with initial developer’s no longer on board to optimize/fix their code mistakes. Check out their online store and browse through their pages – especially cool are the product details pages where they use some really nice server … read more

5 Tips to Improve SharePoint Web Part Performance

In a recent SharePoint Performance PerfBytes Episode Mark Tomlinson, Howard Chorney and I discussed SharePoint Performance based on my blog posts System Performance Checks and SharePoint Deployment Checks. We soon concluded that Web Parts – being one of the key concepts in SharePoint – ultimately decides whether your SharePoint sites scale, perform fast and will be used widely in your organization. Deploying or implementing “Bad” Web Parts will have severe … read more

Finding and Fixing Memory Leaks in Tibco Business Works

We are working with a lot of performance engineers that have Tibco Business Works (BW) in the mix of technologies they are responsible for. This particular story comes from A. Alam – a performance engineer who is responsible for a large enterprise application that uses Tibco to connect their different system components. Alam and his team identified 2 unrelated memory leaks in their Tibco installation using Dynatrace Application Monitoring. One … read more

Hands-On Tutorial: 5 Steps to Identify Java and .NET Memory Leaks

I keep getting questions about how to best analyze memory leaks – especially when they are not always reproducible by the developer on the local workstation. If you never experienced a memory leak issue (or you simply don’t admit it) then read up on some real life examples on our blog: Fixing Memory Leak in Java Production Environment or DevOps way to solving Memory Issues. If you want to test … read more

Are we getting attacked? No, it’s just Google indexing our site

Friday morning at 7:40AM we received the first error from our APMaaS Monitors informing us about our Community Portal being unavailable. It “magically recovered itself” within 20 minutes but just about an hour later was down again. The Potential Root Cause was reported by dynaTrace which captured an Out-of-Memory (OOM) Exception in Confluence’s JVM that hosts our community. The first thought that came to mind when looking at our Real … read more

Memory Leaks, Load Balancing and Deployment Settings: Testing Lessons learned from the eCommerce industry

It is common knowledge that large scale testing should be done prior to releasing new software. Otherwise, how would you know if the system works as expected under real user load? The story today comes from one of our eCommerce customers that enhanced its Gift Card Balance Check with new features. Before going live the company runs large scale load tests to make sure things are working correctly. The first … read more

Hunting an Oracle JDBC Memory Leak Crashing an 80JVM WebSphere Cluster

Are you prematurely restarting JVMs to keep them from running out of memory? Or have you received the recommendation from your application experts to just “increase the Java Heap Space?” The following memory chart shows the memory consumption of 10 JVMs (4.1GB Heap each) per Host on an 8 machine cluster. The JVMs kept running out of memory, crashing with Out Of Memory Exceptions and sometimes even bringing the whole … read more

The DevOps Way to Solving JVM Memory Issues

The killer in any IT operations is unplanned work. Unplanned work may go by many names; firefighting, war rooms, Sev 1 incidents. The bottom line is that Operations must stop whatever planned work it was doing to manage this drill. This means little or no normal work is being accomplished. It is a scenario most of you will be familiar with: Your application servers are humming along happily until suddenly, … read more

Fix Memory Leaks in Java Production Applications

Adding more memory to your JVMs (Java Virtual Machines) might be a temporary solution to fixing memory leaks in Java applications, but it for sure won’t fix the root cause of the issue. Instead of crashing once per day it may just crash every other day. “Preventive” restarts are also just another desperate measure to minimize downtime – but – let’s be frank: this is not how production issues should … read more

The Top Java Memory Problems – Part 2

Some time back I planned to publish a series about java memory problems. It took me longer than originally planned, but here is the second installment. In the first part I talked about the different causes for memory leaks, but memory leaks are by far not the only issue around java memory management. Edit: A portion of this article was taken from our Java enterprise performance book, which in turn … read more