cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <>
Subject Re: Fixing store design (long) (was Re: CocoonForms server sizing?)
Date Sun, 07 Dec 2003 19:50:26 GMT
Sylvain Wallez wrote:


> Private caches all over the place
> ---------------------------------
> I mentioned above components that pre-analyze files like jxtemplate, 
> woody form definitions, flowscript, etc. Now if we look closer at 
> these components, we see that each of them has its own private cache 
> (often a static Map). This means that every loaded file is kept in 
> memory forever, even if only used once in the system lifetime, and 
> even if the corresponding file is actually deleted!
Note that these "private caches" are probably harmless. They are 
templates (not instance documents) and it seems unlikely to me that any 
significant memory savings will be obtained by attempting to optimize in 
this area.



View raw message