Run a profiler. Use jdk1.2 to get best results with the profilers.

optimizeit <www.optimizeit.com> (my favorite)
jinsight <http://www.alphaworks.ibm.com> (search on jinsight)

>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)

-- Ari Halberstadt mailto:[EMAIL PROTECTED] <http://www.magiccookie.com/>
PGP public key available at <http://www.magiccookie.com/pgpkey.txt>




----------------------------------------------------------------
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]

Reply via email to