--- Dwight Farris <[EMAIL PROTECTED]> wrote: > Thanks for responding; I see the following lines > recurring often in the > Catalina_out file: > > 372yes > In the for loop on myUsers2 variables in for loop: > 374yes In ctx == null > BEFORE THE QUERY IN Cohorts getName > > JVM version - 1.4.2_04-b05 > > Dwight > > --- Dwight Farris <[EMAIL PROTECTED]> wrote: > > > Quick question about memory allocation - could the > > issue described below be > > a product of the settings in the following startup > > allocation: > > > > > > > > CATALINA_OPTS="$CATALINA_OPTS -Xms256m > > -Xmx1024m" > > > > A couple of questions: > > - Any Exceptions / Errors in the Tomcat log > file(s)? > > - What version of Java? > > I usally set starting and max memory the same; read > somewhere that garbage collection is more efficient > when that is done. > > If you are running Java 5+ you may be running out > of PermGen space - check the log file(s) and the > archives for recommendations. > > -Bob >
If your webapp(s) really need a gig of memory, I sugggest changing CATALINA_OPTS CATALINA_OPTS="$CATALINA_OPTS -Xms1024m -Xmx1024m" Looks like you are using unix/linux. Did you 'grep' for Exception and Error in catalina.out? The Cohorts getName() messages don't look familiar to me. Is there a Cohorts class in one or more of your webapp's? -Bob ____________________________________________________________________________________ Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]