Re: T5: 5.2.4 and memory
Hi, I'm very satisfied with 5.2.4's performance, fast and use less memory, one thing I notice is, it uses PermGen faster than 5.1, so if default setting of PermGen (64mb?) is used, it is fast hitting the Perm Gen out of memory error, my app uses 90MB PermGen in 5.1, it uses around 105MB in 5.2.4, it had a committed memory around 3G in 5.1, but it committed only 1G in 5.2.4 after a few days running, and upgrading to 5.2.4 is really simple, just a change of version number, did encounter some problems initially but that was all my fault. thanks to to the Tapestry5 team for a wonderful job. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-and-memory-tp624p3342387.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: 5.2.4 and memory
finding is similar to my tests, here is a table, figures in parentheses are from 5.2.4, seems Permgen isn't too much difference, heap and classes are a little more, but not too far from 5.1.0.5, I have an app that's quite high in traffic, max size for PermGen is set at 256mb, but it uses only 90MB in 5.1.0.5, probably 256mb should be enough, need to test some more: Started 1st page loaded PermGen 29MB (31mb) 53MB (58mb) Heap60mb (62mb) 97MB (120mb) Class count 4102 (4415) 7397 (8853) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-and-memory-tp624p665.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
T5: 5.2.4 and memory
Hi, I start jvm with -Xms256m -Xmx1024m, and tested my 5.2.4 upgraded app, ran into this error several times, does that mean 5.2.4 need bigger PermGen space? [ERROR] Registry PermGen space [ERROR] Registry Operations trace: [ERROR] Registry [ 1] Triggering event 'activate' on m1/Analytics [ERROR] Registry Exception invoking method org.sample.t5.services.AppModule.decorateRequestExceptionHandler(Logger, ResponseRenderer, ComponentSource, boolean, Object) (at AppModule.java:513): PermGen space [ERROR] Registry Operations trace: [ERROR] Registry [ 1] Realizing service RequestExceptionHandler [ERROR] Registry [ 2] Invoking org.sample.t5.services.AppModule.decorateRequestExceptionHandler(Logger, ResponseRenderer, ComponentSource, boolean, Object) (at AppModule.java:513) 2011-01-09 13:54:52.354 java[1093:903] JavaNativeFoundation error occurred obtaining Java exception description 2011-01-09 13:54:52.357 java[1093:903] Internal JNF Error: failed calling Throwable.toString() -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-and-memory-tp624p624.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: 5.2.4 and memory
Angelo, I think that w/ the changes that were introduced in 5.2 there is indeed more class generation as a replacement for the javassist usage.. Hence, your app might need more permgen, which would hopefully be outweighed by the removal of page pooling in 5.2. Cheers, Alex K On Sun, Jan 9, 2011 at 1:03 AM, Angelo C. angelochen...@gmail.com wrote: Hi, I start jvm with -Xms256m -Xmx1024m, and tested my 5.2.4 upgraded app, ran into this error several times, does that mean 5.2.4 need bigger PermGen space? [ERROR] Registry PermGen space [ERROR] Registry Operations trace: [ERROR] Registry [ 1] Triggering event 'activate' on m1/Analytics [ERROR] Registry Exception invoking method org.sample.t5.services.AppModule.decorateRequestExceptionHandler(Logger, ResponseRenderer, ComponentSource, boolean, Object) (at AppModule.java:513): PermGen space [ERROR] Registry Operations trace: [ERROR] Registry [ 1] Realizing service RequestExceptionHandler [ERROR] Registry [ 2] Invoking org.sample.t5.services.AppModule.decorateRequestExceptionHandler(Logger, ResponseRenderer, ComponentSource, boolean, Object) (at AppModule.java:513) 2011-01-09 13:54:52.354 java[1093:903] JavaNativeFoundation error occurred obtaining Java exception description 2011-01-09 13:54:52.357 java[1093:903] Internal JNF Error: failed calling Throwable.toString() -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-and-memory-tp624p624.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: 5.2.4 and memory
From this link: http://www.mail-archive.com/users@tapestry.apache.org/msg47526.html, Yes, it seems that Tapestry 5.2 needs bigger PermGen space than tapestry 5.1 But, tapestry 5.2 use less memory in heap space because no more page pooling. From this link http://tapestry.apache.org/specific-errors.html and from hlship tweet, It looks like recommended PermGen space is 512 MB. Hope it helps. On 1/9/11, Angelo C. angelochen...@gmail.com wrote: Hi, I start jvm with -Xms256m -Xmx1024m, and tested my 5.2.4 upgraded app, ran into this error several times, does that mean 5.2.4 need bigger PermGen space? [ERROR] Registry PermGen space [ERROR] Registry Operations trace: [ERROR] Registry [ 1] Triggering event 'activate' on m1/Analytics [ERROR] Registry Exception invoking method org.sample.t5.services.AppModule.decorateRequestExceptionHandler(Logger, ResponseRenderer, ComponentSource, boolean, Object) (at AppModule.java:513): PermGen space [ERROR] Registry Operations trace: [ERROR] Registry [ 1] Realizing service RequestExceptionHandler [ERROR] Registry [ 2] Invoking org.sample.t5.services.AppModule.decorateRequestExceptionHandler(Logger, ResponseRenderer, ComponentSource, boolean, Object) (at AppModule.java:513) 2011-01-09 13:54:52.354 java[1093:903] JavaNativeFoundation error occurred obtaining Java exception description 2011-01-09 13:54:52.357 java[1093:903] Internal JNF Error: failed calling Throwable.toString() -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-and-memory-tp624p624.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org