> 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
maybe comet would help here, instead of heavily pinging the server ;-) > 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. I can see that in some cases it may help, perhaps you wanna share the impl ? -M > > > > cheers, > > Gerald > > -- > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

