SSJS and recycle()

  • I’m wondering if Notesian objects (Document, etc) in SSJS need to be recycled, just like Java? Since I can’t find a single reference that anywhere, except SSJS doesn’t require recycle(), I’d imagine the answer is “no”. Still, I like explicit. (grin)

  • What about Java classes instantiated by SSJS that use Notesian objects? Since Java in general does need recycle(), I would imagine the answer is “yes”. Still, I like explicit.

Thanks for your time…

Subject: My understanding is…

The server will recycle all Notes objects at the end of each page request, so generally you don’t need to recycle in SSJS (unless you’ve got monster NotesDocument loops, in which case I suppose you could perhaps have a problem prior to the page completing processing.)

Java, yes, the recycle nonsense still applies…