Hi Thierry

A quick solution might be a cache. Those libraries often include 
size-limiting strategies.

You then have to make sure that you do not keep links to the objects 
in your session-beans in order to release them gracefully...

hth
Alexander 

-----Original Message-----
From: Thierry Buecheler [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 01, 2005 3:47 PM
To: MyFaces Discussion
Subject: Re: Memory Management on Application Level?

Does nobody know this or is this the wrong mailing list?

T.

Thierry Buecheler wrote:
> Hi everybody
> 
> I'm looking for a possibility to prevent Java heap overflows due to
user 
> peaks for our JSF application. We would like to keep track of memory 
> usage for every user (for example by setting an application wide limit

> for generated objects). Is there a possibility to do that beyond
session 
> limits?
> 
> If, say, every user lists a unknown number of objects on a page and I 
> want to limit the entire webserver-load to n objects (for all current 
> sessions), how could I do that? Is there an appropriate method on 
> "application" which I missed?
> 
> Thank you very much,
> Thierry

Reply via email to