Re: What is the default size of max per session in wicket

2014-02-09 Thread Francois Meillet
There is no simple response.
It depends on your non-functional requirements, on what you are trying to 
achieve, on the pages's size, on the types of model you use.

The api says:
IStoreSettings 
setMaxSizePerSession
Sets the maximum size of the File where page instances per session are stored. 
After reaching this size the DiskDataStore will start overriding the oldest 
pages at the beginning of the file.

I would say that 10mb is a good compromise.

François Meillet
Formation Wicket - Développement Wicket





Le 8 févr. 2014 à 09:58, Sharad Raut raut.sha...@gmail.com a écrit :

 Thanks for replay.
 By default it shows value 10MB.
 Is it sufficient 
 
 
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307p4664315.html
 Sent from the Users forum mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 



Re: What is the default size of max per session in wicket

2014-02-08 Thread Sharad Raut
Thanks for replay.
By default it shows value 10MB.
Is it sufficient 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307p4664315.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



What is the default size of max per session in wicket

2014-02-07 Thread Sharad Raut
What is the default size of max per session in wicket 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What is the default size of max per session in wicket

2014-02-07 Thread francois meillet
Have a look to setMaxSizePerSession() in the IStoreSettings interface
application.getStoreSettings().setMaxSizePerSession(Bytes.megabytes(30));

François


On Fri, Feb 7, 2014 at 3:06 PM, Sharad Raut raut.sha...@gmail.com wrote:

 What is the default size of max per session in wicket

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org