You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rodmar (JIRA)" <ji...@apache.org> on 2010/10/23 00:43:20 UTC

[jira] Commented: (AXIS2-4314) service references are not completely removed in AxisConfiguration

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

Rodmar commented on AXIS2-4314:
-------------------------------

HI, 

We had a lot of memory leak problem in AxisService class. Memory growth up to 4gb in a multi thread environment in only three days of usage (40,000 invocations of WS). We're using axis2 1.4.1.

We discovered that the leak was instantiating AxisService class once per request. Therefore we changed to a Singleton usage of AxisService (used through ThreadLocal to still support multi threating). This solved memory leak problems.

Cheers.

> service references are not completely removed in AxisConfiguration
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4314
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4314
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.5, 1.4.1, 1.4, 1.3
>            Reporter: Alexis Midon
>            Assignee: Deepal Jayasinghe
>             Fix For: nightly
>
>         Attachments: AXIS2-3870+4314.patch.txt
>
>
> I reopen issue AXIS2-3870, because the fix is half baked. It does a proper clean-up job for AxisConfiguration#removeServiceGroup but omits AxisConfiguration#removeService.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org