jython memory usage

Samuele Pedroni pedronis at bluewin.ch
Thu Sep 5 11:30:58 EDT 2002


Robin Becker <robin at jessikat.fsnet.co.uk> wrote in message
RTiVzIAJD3d9Ew2t at jessikat.demon.co.uk...
> OK I get over 600 lines at the initial burst which ends with
> .......
> [Loaded sun.reflect.GeneratedMethodAccessor18]
> [Loaded sun.reflect.GeneratedMethodAccessor19]
> [Loaded org.python.modules.MD5Object]
> [Loaded reportlab.lib.fonts$py]
> [Loaded java.io.RandomAccessFile from C:\Program
Files\Java\j2re1.4.0_01\lib\rt.jar]
> [Loaded sun.reflect.GeneratedMethodAccessor20]
>
> memory usage climbs continuously and then
> Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested
32756 bytes
> C:\jython-2.1\reportlab\test>
>

If I understand your report correctly, that means you get only the initial
burst of [Loaded ... ] and no further [Loaded ...  ] with or without
[Unloading class ... ]matching the memory usage climbing? then it seems
really that we are triggering some JVM bug.

Have you tried with an older JVM? anyway is the code and minimal
instructions to reproduce the "disaster"
available ?

regards.





More information about the Python-list mailing list