I am a middleware person and I have a little experience in JSF. I have a jsf application that I need to examine its behaviour under load and stress. I am using gatling to examine its behaviour. Several days have passed I have run lots of tests. There is a common behaviour that I have examined.
After I boot up the application and run a couple of stress tests, the application goes into crazy garbage collection cycle however gc cycles does not end successfully. I examined the the sampler and one object instance came to my attention.
javax.faces.component.StateHolderSaver instances are continiously increasing during stress tests and not garbage collected. After some test runs the application goes into full gc cycles because heap passes the upper limit and cpu strike happens which makes the application unresponsive.
Have you had any experience with this object ? Why does this object instances not being destroyed ?