On Sun, 2008-07-20 at 22:51 -0700, Brian M Dube (JIRA) wrote:
> [ 
> https://issues.apache.org/jira/browse/FOR-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615152#action_12615152
>  ] 
> 
> Brian M Dube commented on FOR-803:
> ----------------------------------
> 
> I'm developing a plugin that uses Hibernate ORM capabilities, and I have 
> Hibernate configured to display its SQL statements as it hits the database 
> while I test. With the pelt skin, the database is hit a few times and the 
> page finishes rendering. 

Actually I reckon it should be one match not more. What are the matches?

> With the pelt theme, the database is hit over and over again for the same 
> information before rendering the page. 

That indicates a bug in the data-source plugins (if catching is enabled
the cache should return the hit and not pass it through the db plugin).

> Navigating to another page will eventually use up all of the heap space and 
> the JVM will hang. I increased the amount of memory available to the JVM, and 
> the connection pool ran out of connections.

Can you please fill a stacktrace to which parts are requested twice, we
need to find out where the caching is failing.

TIA

salu2 

> 
> > Profile new dispatcher plugins
> > ------------------------------
> >
> >                 Key: FOR-803
> >                 URL: https://issues.apache.org/jira/browse/FOR-803
> >             Project: Forrest
> >          Issue Type: Sub-task
> >          Components: Plugin: internal.dispatcher
> >            Reporter: Thorsten Scherler
> >
> > http://marc.theaimsgroup.com/?t=113830245600001
> > El sáb, 28-01-2006 a las 23:10 +1100, David Crossley escribió:
> > A while ago i noticed big performance problems.
> > > e.g. building site-author took four times as long.
> > > 
> > > We need to do at least basic profiling.
> > http://marc.theaimsgroup.com/?l=forrest-dev&m=113845026822103&w=2
> > David was talking about v2 but this needs to be verified with the 
> > refactored version.
> 
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions