-
1. Re: bloddy helly slow!!!!!
bobbiee Mar 14, 2008 8:10 AM (in response to bobbiee)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:(
-
2. Re: bloddy helly slow!!!!!
nbelaevski Mar 14, 2008 10:59 AM (in response to bobbiee)What does the stack dump show?
-
3. Re: bloddy helly slow!!!!!
nbelaevski Mar 14, 2008 11:00 AM (in response to bobbiee)I'm very sorry, I meant heap dump :)
-
4. Re: bloddy helly slow!!!!!
bobbiee Mar 16, 2008 4:37 PM (in response to bobbiee)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.
Lukas -
5. Re: bloddy helly slow!!!!!
mail.micke Mar 17, 2008 4:34 AM (in response to bobbiee)Hi
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[1] 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 [2].
[1] http://jakarta.apache.org/jmeter/
[2] http://wiki.apache.org/myfaces/PerformanceTestingWithJMeter
Good luck,
Micke