CHAPTER 12 TRENDING, FORECASTING, AND CAPACITY PLANNING (Domain and web hosting)

CHAPTER 12 TRENDING, FORECASTING, AND CAPACITY PLANNING Figure 12-2. This heap is slowly trending upward, which is evident by looking at the low usage growth pattern (the valleys). Figure 12-2 presents a heap that is trending upward. The shaded area shows the range of the heap while the lines demark the low and high utilization of the heap for that sampling interval. The lower mark shows the amount of heap that the JVM was able to make available to the application in the sampling interval. By observing the heap over time, you can see that the JVM is losing memory. In this situation, I would observe the heap over a much longer time interval, which can range from several hours to several weeks, depending on the behavior of the heap, to see if the heap utilization levels off or if it eventually runs out of memory. Note If you are using a Sun JVM, you have a more definitive mechanism to detect a memory leak: analyze the growth pattern of the old generation partition of the heap. Recall that the new generation is where objects are created and short-lived objects are destroyed, while the old generation is the home for long-lived objects. Leaked objects are, by definition, long-lived, so they will consume the old generation until they exhaust the memory. Therefore, looking at the growth pattern of the old generation, rather than the entire heap, is more conclusive. Resource Utilization Patterns In addition to measuring heap utilization and garbage collection rates, you want to construct a model that represents your other resources. Specifically, you want to include analyses of the following metrics: Thread pools Connection pools Object pools Caches CPU
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.

Leave a Reply