You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ulrich Mayring <ul...@denic.de> on 2000/02/07 14:07:24 UTC

Strange Memory Problems

Hello everyone,

I'm using cocoon 1.6 with jserv 1.1 and JDK 1.1.8 under RedHat Linux 5.2

The supplied cocoon samples run fine, but my own XML/XSL test pages only
display the first time I call them. When I call them the second time
(either by reload or by just entering the URL again), I get this error:

java.lang.OutOfMemoryError: at java.io.BufferedWriter.(BufferedWriter.java)

When I reload the index page of the supplied samples (which works) and
then load my test page again, then it works again. The next time I call
my test page produces the error again. If I restart Apache, then my page
again works one time and then produces the error.

In jserv.properties I have:

wrapper.bin.parameters="-ms1000000"

In cocoon.properties I have:

store.memory=200000

My machine has 96 MB of RAM and 36 MB of swap.

Maybe this has to do with the fact that my test pages have an unresolved
error. I am using a JavaScript from my code, which isn't there (but
isn't needed for page display, only for rollover-effects with my
buttons). The reason the JavaScript isn't there is that in my XSL
stylesheet this line

<script language="javascript" src="buttonscript.js" type="text/javascript"/>

is present, but doesn't seem to work (Netscape 4.61 on MacOS).

Thanks in advance for any pointers,

Ulrich

-- 
Ulrich Mayring
DENIC eG, software development
ulim@denic.de