Are u using tomcat 5.0 ? I've been getting this error a lot in 5.0 , but nevevr in 5.5 . Tapestry apps seem to create this error in tomcat 5.0 every few deploys or so .
Someone briefly told me to disable some caching at the java level , but I was lazy never researched that , and once I upgraded to 5.5 problems were gone . Cosmin On 11/28/05, Martin Strand <[EMAIL PROTECTED]> wrote: > I keep getting this error from Tomcat: > > java.lang.OutOfMemoryError: PermGen space > > It seems to happen randomly. I read this article on TSS: > http://theserverside.com/news/thread.tss?thread_id=36743 > "The permanent generation is special because it holds meta-data describing > user classes (classes that are not part of the Java language)." > As I understand it, the article implies that this error can occur when you > use a large number of classes. I've got less than 50 classes right now for > all components, pages and business logic but I'm still getting that error. > > Perhaps this PermGen space error is because of a large number of enhanced > classes? Or perhaps "hot code replace" leaves a number of old replaced > classes hogging the PermGen space? > Anybody else experiencing this? > > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]