How do you plug-in an own state manager? I am right now also playing in this area and removed the weak references.
Michael -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerald Müllan Sent: Freitag, 18. April 2008 17:13 To: MyFaces Discussion Subject: Re: Leak in saveState? Hi Simon, i think he has meant that gc is running too many times and slows the system down when the weak refs are getting very high. Which in turn occurs when many users have been interacting with the application and therefore many views have been stored. Well, maybe the approach with the weak references has to be overhauled. I recently did some stuff with periodically fired ajax requests and recognized a kind of system freeze with 20 + users after some time. After some profiling i was aware of the weak references which raised to a huge amount. Per user 3-4 areas are refreshed some times, each few seconds. Many many views are stored weak in this case. I plugged in my own StateManager without the weak references and the problem seems to be gone. Sure thing, this ajax scenario is not common, but it seems to show a major drawback. cheers, Gerald -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

