I've done a cursory investigation using YourKit and I'm not seeing any
unexpected results. Number of PageImpl, ComponentPageElementImpl
instances are reasonable (for the testing I did).

On Tue, Mar 17, 2009 at 8:09 AM, Howard Lewis Ship <hls...@gmail.com> wrote:
> Doesn't add up, that's right:  it should be 4 page classes X 10 (page
> pool size) X L (number of supported locales) maximum.
>
> This number will shift slightly if you use BeanEditor or Grid
> components, but it still doesn't add up.
>
> The count of CPEI seems high; you don't have 1500 components per page.
>
> One possibility here is that the bytecode manipulation that Tapestry
> does is confusing your profiler.
>
>
> On Tue, Mar 17, 2009 at 7:59 AM, Yuri Ushakov <yuri.usha...@gmail.com> wrote:
>> Hello.
>> I'm using Tapestry 5.0.18. I've been doing a load test using 10 concurrent
>> users (never more than 10 parallel requests). I've set up page pool to 10
>> pages also. I checked it - if 11th user comes, there is the tapestry
>> exception about hard-limit. So, the Tomcat is run with -Xmx2048M. The ten
>> users were browsing 4 particular pages for about 40 - 50 minutes. They are
>> quite ordinary pages, some small, one big (kinda user dashboard).
>>
>> What I get is constant 85% heap usage with:
>>
>> 196 instances of PageImpl
>> 308277 instances of ComponentPageElementImpl
>>
>> Here is the profiler screenshot:
>> http://img19.imageshack.us/img19/6170/tapestrymemory.png
>>
>> Questions are:
>>
>> 1. Why there is about 1G of retained CPEI objects.
>>
>> 2. Why there are 196 PageImpl objects, with page pool set to 10, and only 4
>> pages in use.
>>
>> 3. Where can I look for any clues? Enable some tapestry debugging? Read some
>> important document explaining this situation?
>>
>> Thanks for any help.
>>
>> Yuri.
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to