Home » Tag Archives: GC (page 2)

Tag Archives: GC

JVM is down with “OutOfMemory” error – what should I do?

java-logo

Amazing as it may seem, but this particular cry “From the Depths” is frequently displayed among the results of search requests regarding JVM settings. You have probably been faced with the “I remember that option, but how to enable it” problem, while administrating servers or adjusting virtual appliances at times (semi-annualy, for example) and apart from your main tasks. There ...

Read More »

Adaptive heap sizing

java-logo

While enhancing our test bed to improve the Plumbr GC problem detector,  I ended up writing a small test case I thought might be interesting for the wider audience. The goal I was chasing was to test JVM’s self-adaptiveness in regard of how the heap is segmented between eden, survivor and tenured spaces. The test itself is generating objects in ...

Read More »

Revealing the length of Garbage Collection pauses

java-logo

There are several ways to improve your product. One such way is to carefully track what your users are experiencing and improve based on that. We do apply this technique ourselves and have again spent some time looking at different data Besides many other aspects we were after, we also posed a question “what is the worst-case effect for latency ...

Read More »

Reducing the frequency of major GC pauses

java-logo

This post will discuss a technique to reduce the burden garbage collection pauses put on the latency of your application. As I have written couple of years ago, disabling garbage collection is not possible in JVM. But there is a clever trick that can be used to significantly reduce the length and frequency of the long pauses. As you are ...

Read More »

Garbage Collection: increasing the throughput

java-logo

The inspiration for this post came after stumbling upon “Pig in the Python” definition in the memory management glossary. Apparently, this term is used to explain the situation where GC repeatedly promotes large objects from generation to generation. The effect of doing so is supposedly similar to that of a python swallowing its prey in whole only to become immobilised ...

Read More »

GC impact on throughput and latency

java-logo

One type of the problems each and every Java application out there has to wrestle with is related to garbage collection. When the garbage collector works, it represents a wonderful invention. When it does not – or when the way GC is doing its housekeeping becomes unpredictable – then you have a friend who has turned into a foe. This ...

Read More »

(Part 2 of 3): Synopsis of articles & videos on Performance tuning, JVM, GC in Java, Mechanical Sympathy, et al

java-logo

This is a continuation of the previous post titled (Part 1 of 3): Synopsis of articles & videos on Performance tuning, JVM, GC in Java, Mechanical Sympathy, et al. Without any further ado, lets get started with our next set of blogs and videos, chop…chop…! This time its Martin Thompson’s blog posts and talks. Martin’s first post on Java Garbage collection ...

Read More »

RMI enforcing Full GC to run hourly

java-logo

During all the troubleshooting exercises I have carried out in my career, I have picked up a feeling that the bugs I am after are evolving and becoming meaner and uglier over time. Or maybe it is just my age kicking in. This particular Heisenbug – lookalike this post is about has again kept me awake for more than I ...

Read More »

Garbage Collector guidelines and tips

java-logo

These are some of the guidelines and tips I usually look at when I need to tune the GC. Are mostly taken by the following 2 books and few of them from my experience: Java Performance JBoss AS 5 Performance Tuning Hopefully they will be useful for someone else out there! Garbage Collector XX:+AggressiveOpts sets a HotSpot internal boolean variable ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close