We are using sun JVM under Tibco Active Matrix Service Grid's OSGI container. We are observing a strange behaviour where JVM is doing full/partial GCs continuously without freeing up much memory. Old generation is getting filled up and the young generation is almost empty. We have a web service deployed on this JVM. All the requests to the service are stateless so all the objects created are short lived and should be immedietely available for GC. Please see below the heap size and the GC arguments which we are using.
# Increase the default maximum heap size.