Because you don't use the cache, so it resizes it. You'd better have a big cache that is resized than a small cache and have cache miss that kill you performance. Having a cache of 1'000'000 doesn't mean it will eat much memory as long as it is not filled in.
For more details, read the code or let Simone Bordet, Mr. Cache, give you in-depth details. > -----Message d'origine----- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de > Aleksander Grzebyta > Envoyé : mercredi, 26 juin 2002 14:31 > A : [EMAIL PROTECTED] > Objet : Re: [JBoss-user] Resized cache for bean - old capacity = 1000000 > > > Thanks. I chnaged: > > <max-capacity>100</max-capacity> > <resizer-period>800</resizer-period> > > But the question remains why JBoss starts with Max values and > then needs to > do resizing ? > > sincerely Olek > > ----- Original Message ----- > From: "Sacha Labourey" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 26, 2002 11:33 AM > Subject: RE: [JBoss-user] Resized cache for bean - old capacity = 1000000 > > > > JBOSS_HOME\server\default\conf\standardjboss.xml > > > > or in your own container config in jboss.xml > > > > > -----Message d'origine----- > > > De : [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]De la part de > > > Aleksander Grzebyta > > > Envoyé : mercredi, 26 juin 2002 11:28 > > > A : 'jboss-user' > > > Objet : [JBoss-user] Resized cache for bean - old capacity = 1000000 > > > > > > > > > Hello ! > > > > > > If I put JBoss 3.0 into DEBUG mode I can see series of similar > > > messages for > > > various beans I have deployed. What is the cause of messages and where > to > > > set apropriate parameter so JBoss did not start vith 1000000 values: > > > > > > > > > > > > 14:42:42,892 DEBUG [LRUEnterpriseContextCachePolicy] Resized > > > cache for bean > > > Slownik: old capacity = 1000000, n > > > ew capacity = 50 > > > > > > > > > sincerely Olek > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: Jabber Inc. > > > Don't miss the IM event of the season | Special offer for > OSDN members! > > > JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > > > _______________________________________________ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Jabber Inc. > > Don't miss the IM event of the season | Special offer for OSDN members! > > JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber Inc. > Don't miss the IM event of the season | Special offer for OSDN members! > JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user