too many PRContext instances ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

too many PRContext instances ?

cedreek
I have too manyPRContext instances.

PRContext allInstances size " 55408"

Can I get rid of them and how ;) ?

Thanks

Cédrick


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: too many PRContext instances ?

Lukas Renggli-2
> I have too manyPRContext instances.
>
> PRContext allInstances size " 55408"

I don't know if that's a lot. This depends on your setup.

In my development image I have 3403 instances, on www.lukas-renggli.ch  
I have 13021 instances.

Whenever a page is rendered a context is created for every possible  
navigation path (every link). That could be optimized of course, but  
never was a problem so far. These contexts should quickly go away, if  
they are not needed anymore.

Furthermore, then are a couple of contexts (default is 1024) stored in  
PRHistoryPersistency (if you are using this strategy).

> Can I get rid of them and how ;) ?

So if you reset the history and clean the session cache, you should  
not have any PRContext instances anymore.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki