jon * wrote:
> > Running one of our servlets (which generates a report based on a bunch
> > of jdbc queries), we get
> > a out of memory exception if the database is too large. We used to get
> > the out of memory exception in our code before we added teh -mx100m
> > option. Now we get it in jserv. We are not running out of os memory as
> > the system has 2048mb ram. Any ideas on why this would happen? would
> > increasing the stack size help?
> >
> > [04/05/1999 15:27:02:446 EDT] java.lang.OutOfMemoryError
> > at org.apache.jserv.JServConnection.run(Compiled Code)
> > at java.lang.Thread.run(Compiled Code)
>
> The amount of ram on the system doesn't matter. It is the amount of ram
> allocated to the JVM. You obviously need more than 100m.
>
> -jon
i forgot to mention top only reports 73m allocated by the java process.
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]