My webapplication is occuring a memoryleak.(I monitored the webapp with visualVM)
Each time, I go on a specific jsf page which bean is annotated with ViewScope, the heap increase. With viewScope, all the objects (and memory) should be cleared when i leave the page. Even if I close the session, the heap stays at the same level and then increase again if i go on this jsf page...
So obviously the app will collapse... Does the session is not close well (does it should 'kill' all objects)? or is it possible that object references still persist and that garbage collector doesn't do the job ?