Out of Memory Problem in LS2J

Hi all,

I am trying to call Java classes from Lotus Script using LS2J. I was getting memory problem, after reading forum tips added JavaMaxHeapSize=128MB

JavaMinHeapSize=128MB

JavaVerbose=1

JavaVerboseGC=1 into notes.ini file.

Agent ran for the first time and it failed for the second time saying Out of memory. Java code is written by another developer , he told he is taking care of freeingup memory. What we need to take care on Notes end to free-up memory? Please do help me.

Thanks

Anitha