Reducing memory consumption by 20x – Plumbr
May 30, 2013 by Nikita Salnikov-Tarnovski This is going to be another story sharing our recent experience with memory-related problems. The case is extracted from a recent customer support case, where we faced a badly behaving application repeatedly dying with OutOfMemoryError messages in production. After running the application with Plumbr attached we were sure we were not facing a memory leak this time. But something was still terribly wrong. The symptoms were discovered by one of our experimental features monitoring the overhead on certain data structures. It gave us a signal pinpointing towards one particular location in the source code. In order to protect the privacy of the customer we have recreated the case using a synthetic sample, at the same time keeping it technically equivalent to the original problem. Feel free to download the source code . We found ourselves staring at a set of objects loaded from an external source.Read full article from Reducing memory consumption by 20x – Plumbr
No comments:
Post a Comment