Norris Boyd wrote: > On Dec 25, 5:06 am, ArtemGr <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> Hi, >>> I am considering Rhino for project and I would really like to use the >>> 1.7 features that are available in the pre-release. I wanted to get >>> some input about the readiness of the release from anyone else who has >>> been using it. My preliminary testing seems to indicate that it is >>> quite stable, has anyone else had a conflicting experience? >> Prerelease contains some memory leaks. CVS version is better in that >> respect.> Thanks, >>> Benjamin Reesman > > Can you give us information on these leaks? I'd like to get them > fixed.
I had some JDK-produced memory dumps for jhat, but they are no longer there. I thought it was some known problem, i believe somebody mentioned memory leaks already in the mailing list. Sorry I'm of no help; if I have time to make and analize memory dump again (perhaps the leak is still there), I will let you know. What I remember, is that we had Java Reflection objects (like java.lang.reflect.Method) lying around and being referenced from reused JavaScript (the thing we reuse is org.mozilla.javascript.Script; we compile it once and then use Script.exec), in quantities far exceeding normal workload (mostly we use Velocity, and program stays within 150mb, but when JS is used in a single place, the program quickly grew to more then 500bm and encountered OOM). > Thanks, > Norris _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
