From: <ant...@gm...> - 2007-06-29 16:24:49
|
Hi Sivamma, Captcha generation is very CPU consumming by nature, for both image and sound. In order to manage this issue, JCaptcha provide a buffering system, please take a look at this new documentation page : http://forge.octo.com/jcaptcha/confluence/display/general/Captcha+Buffering= +System To resolve the JavaHeapSpace, adjust the following JVM options : -Xms128m -Xmx256m -XX:PermSize=3D128m -XX:MaxPermSize=3D256m Regards Antoine On 6/25/07, siva kempili <k_s...@ya...> wrote: > > Hi , > Creating Images are working fine. > The problem i am facing is CPU Utlization is > more(nearly 80-90%), When there are many requests for > the servlet which creates jcaptcha image.I am trying > to send nearly 60 requests from different client > machines atthe same time.During that time the CPU > utilization of the server reaches 80 to 90% and > remains till it finishes.In between it throws error > "java.lang.OutOfMemoryError: Java heap space" > > Can you please why it uses lots of CPU Utilization and > what is the solution for that. > > Can you please tell me is there a way to generate many > jcaptcha images(something like 1000/1500) in a > directory and display those images when the client > request for jcaptcha image.I tried that but the > problem is storing sessionid for validation.If i save > many images in a directory and want to use means ,i am > not able to validate them. > > How can i handle validation in that case. > > Its little urgent please. > Thanks in advance. > > Thanks & Regards, > Sivamma. > > > > > > > _________________________________________________________________________= ___________ > Be a better Heartthrob. Get better relationship answers from someone who > knows. Yahoo! Answers - Check it out. > http://answers.yahoo.com/dir/?link=3Dlist&sid=3D396545433 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > jcaptcha-users mailing list > jca...@li... > https://lists.sourceforge.net/lists/listinfo/jcaptcha-users > --=20 Antoine V=E9ret Mobile : 06.20.31.14.05 Fixe : 09.53.07.73.76 |