-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

i have memory problem in java

i'm using SunOS 5.7, Oracle 8.0.5, JDK 1.1.8, Apache 1.3.9, JServ 1.0

i have several servlets which get more than 500 rows from database
and these servlets stopped when exactly 130 rows fetched and caused
following memory error

java.lang.OutOfMemoryError
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java)
        at org.apache.jserv.JServConnection.run(JServConnection.java)
        at java.lang.Thread.run(Thread.java)

ofcourse many other servlets runs well !

so, i executed java like below to increase stack and heap size.

java -ss256k -ms8m -mx32m

but same error stil occurs.
any solutions or help ?

ps) i'm using PrintWriter with auto flushing. so ,i think it wouldn't
use buffers. and server has 262144K of memory


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to