Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Full Garbage Collection from OpenApi ?
Andy Knipp
Hey
We are making some openapi calls from a WLS & are getting some serious memory leaks.
One thing we have noticed is that when we initiate our call we get a FullGC:
Please find attached a java class that when run with verbose:gc option set makes call to FullGC every one minute. Is this any problem with the way calls are made to the openapi or any other configuration changes need to be applied in order to avoid the FullGC calls?
TIA
Andy
import com.interwoven.api.service.*;
import com.interwoven.api.access.*;
import com.interwoven.api.filesys.*;
public class myTestClass {
public static void main(String args[]) throws Exception {
System.out.println("Locating Service");
IWAccessService accessService = null;
IWFileSysService fileSysService = null;
IWAccessorAuthentication authenticatedUser = null;
accessService = (IWAccessService) (IWService.locate("//ts_server/IWAccessService"));
authenticatedUser = IWAccessorAuthentication.authenticateUserByPassword(accessService, "tsadm", "role", "password", 60 * 1000);
fileSysService = (IWFileSysService) (IWService.locate("//ts_server/IWFileSysService"));
System.out.println("After Locating Service");
System.in.read();
}
}
Find more posts tagged with
Comments
There are no comments yet