[ 
https://issues.apache.org/jira/browse/AXIS2-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607593#action_12607593
 ] 

Hans G Knudsen commented on AXIS2-3870:
---------------------------------------

Hi Michele!

By 'give up' I meant : runs out of memeory :

Invoke ClientLeak : 808
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.HashMap.<init>(HashMap.java:203)
        at 
org.apache.axis2.description.PolicySubject.<init>(PolicySubject.java:36)
        at 
org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:79)
        at 
org.apache.axis2.description.AxisBindingMessage.<init>(AxisBindingMessage.java:88)
        at 
org.apache.axis2.deployment.util.Utils.populateBindingOperation(Utils.java:1477)
        at 
org.apache.axis2.deployment.util.Utils.populateSoap11Endpoint(Utils.java:1354)
        at 
org.apache.axis2.deployment.util.Utils.addEndpointsToService(Utils.java:1157)
        at 
org.apache.axis2.engine.AxisConfiguration.processEndpoints(AxisConfiguration.java:1234)
        at 
org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:329)
        at 
org.apache.axis2.engine.AxisConfiguration.addService(AxisConfiguration.java:293)
        at 
org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:175)
        at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:143)
        at dk.gov.oiosi.test.client.ClientLeak.run(ClientLeak.java:49)
        at dk.gov.oiosi.test.client.ClientLeak.main(ClientLeak.java:120)


/hans

> Memory Leak using ServiceClient
> -------------------------------
>
>                 Key: AXIS2-3870
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3870
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.4
>            Reporter: Hans G Knudsen
>         Attachments: ClientLeak.java
>
>
> Hi!
> I think I see a leak when using ServiceClient.
> In my client I intialize the ConfigurationContext once and resuse it to 
> initialize the ServiceClient :
>             ServiceClient sender = new ServiceClient(configContext,null);
> Calling 'cleanup()' on the ServiceClinet explicitly after the service call 
> does not help..
> I will supply a small testcase.
> /hans 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to