JVM Memory leak / Uselsx "*javacon"

Domino Server is R6.0 For Windows/32.

we have an agent written with LotusScript which call an external java file using Uselsx “*javacon”.

the external java file handle a lot of documents, and after the execution, there is memory leak. so with next execution, it cause out of memory error.

i guess the external java file doesn’t have problem because it’s no problem if i call the java file using external batch file, not lotus script.

so my conclusion is how to handle the memory problem in Lotus Script.

this is our code :

Set jSession = New JavaSession ()

Set jClass = jSession.GetClass(“…”)

Set jObject = jClass.CreateObject

Call jObject.execute( “…”, “…” )

i know the recycle() method, but none of jSession, jClass and jObject have recycle() method.

is it the problem of server version?

or have i to give up Lotus Script in this case?

any help would be welcomed.

thanks for reading.