When I try to put log on the page to see what is happening, ajax request completely blocks browser and something really strange appears inside the log window - when ajax request finish, log window closes. No help for me:(
What does the stack dump show?
I'm very sorry, I meant heap dump :)
Thanks for answer:)
how can I reach head dump? Things got better when I change STATE_SAVING_METHOD inside the web.xml from client to the server. I think this was the main problem...
I still have problem with memory leak. I dont want to have modal panel, cause he causes that my screen goes darker which can be bad for users. I decided to have my own "modal panel", but I dont know how to lock every components on the page while ajax request is performing. Memory leak appears also when I perform more clicks fast after each other and reproduce more ajax request in almost one time, My jboss uses almost 3GB memory. I wonder what will happen with my server, if more people will work with this in one time. Is that OK? Could you please write, what do you think about that?
Thank you very much.
I don't think that RichFaces per say is responsible for the memory usage. You need to look inside your backing beans and other session/application scoped beans and make sure that they don't load up to much memory.
If possible try and profile it to see where the memory goes.
Regarding multiple concurrent users on your web app (load testing), I would suggest that you use JMeter which can simulate this for you. Not the easiest tool to use, but it does the job. Also there is this wiki page on the myfaces website which gives some hints especially for testing JSF pages .