-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Seems like you're running out of heapsize.
try
java -ms128m -mx156m
This works fine for me with the exact same setup..
cheers,
Lein
> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von mskang
> Gesendet am: Freitag, 10. September 1999 04:29
> An: [EMAIL PROTECTED]
> Betreff: OutOfMemoryError
>
> -----------------------------
> 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]
>
>
--
--------------------------------------------------------------
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]