February 2013
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728  

Categories

February 2013
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728  

Java Heap Dump and analyze

First get the Java Applications Process Id, one way to do this is with: jps

jmap -dump:format=b,file=dump.bin <javaProcessIdHere>

The size of the heap dump file will be same as the heap memory in use at the time the command is run. For large heap sizes this can take several minutes to run, and can stall […]

Traffic Calcuation for Tomcat and Apache

How many users can we handle? How many requests/second can we handle? How much bandwidth is needed to handle so many users or requests/second? How do i calculate these figures? How many (an application) servers do i need to handle this traffic?

Lets begin with a small example to understand how we arrive at […]