-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Fachhoch,
On 3/12/13 10:43 AM, fachhoch wrote: > I am using tomcat 6.0.35 in production. I am running my web > application on this , It uses spring, wicket, hibernate and lot > of other technologies, problem is after one month of running my > application I get out of memory error perm gen space could not > serialize mybject... . I am using wicket framework which > serializes lot of stuff in memory I think it is serializing lot of > stuff and not enough memory is available to serialize . > > After restart the server is good for approx one month. > > How can I detect in advance that my app is using up all available > memory ? I am not a server administrator or system admin, I am > just a developer and right now managing my production servers. This > out of memory perm gen space error could this be because of > some memory leak ? > > can I run gc once in week on running tomcat should we do this for > server good health , earlier our deployment team used to deploy > this and we never had out f memory issue. is there any maintenance > necessary for production servers if so what are those ? Do you redeploy your webapp ever/often without restarting Tomcat? Or will your app fail after ~1 month with a single deployment? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEAREIAAYFAlE/oAMACgkQ9CaO5/Lv0PArtQCfergQpRXpG+pIdAMUP+8SRtwL wvEAoLJsQkpNSQIv5STKayfq66xI390x =nPFq -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org