u think i got chance or not??

----- Original Message ----- From: "Gerald Müllan" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Saturday, March 29, 2008 8:15 PM ii
Subject: Re: Leak in saveState?


Hi,

Using MessAdmin, I noticed that the size of the attribute
'org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW' in
session is continualy increasing. Approximately 100K by viewed page.

yes;

With the web.xml setting org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
you can influence the amount of stored views in the session in order
to restore them when navigating with the back button.

However, the JspStateManagerImpl holds *all* the views in the session
- regardless the setting - but with a weak reference. Means it will be
freed out of the memory if gc determines that memory consumption is
high.

Because of this, the tool recognizes increasing memory consumption.

cheers,

Gerald

--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1348 - Release Date: 3/28/2008 10:58 AM




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to