myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Niklas <>
Subject statesaving - memory consumption
Date Mon, 01 Sep 2008 15:21:51 GMT


i am using server-side state saving (because the environment is a portal). I
noticed a high memory consumption for the view state, or exacting for the
history of old view states. Now i have some questions on this:

Is view state history *only* for "back-Button" of the browser?

There is a (Weak/Soft) ReferenceMap for old view states. Theses instances
comes into old generation memory. I think, the garbage collector must often
clean up these objects. Is this an optimal behavior?

I'm using myfaces 1.1.5. Here the old views are hold with soft references.
Is this working? I found an issue

In 1.1.6 the ReferenceMap holds only weak values and keys. Why that? 

Best regards

View this message in context:
Sent from the MyFaces - Users mailing list archive at

View raw message