Petals CDK

Memory-leak because utility singletons are not freed

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 5.1.3
  • Fix Version/s: 5.1.4
  • Component/s: runtime
  • Security Level: Public
  • Description:
    Hide

    The CDK uses several singleton as utility:

    • org.ow2.petals.component.framework.util.UtilFactory
    • org.ow2.petals.component.framework.util.ExchangeUtil
    • org.ow2.petals.component.framework.util.WSDLUtil
    • org.ow2.petals.component.framework.util.XSLTUtil
    • org.ow2.petals.component.framework.util.SourceUtil

    As these singletons are not freed, a new instance is created each time a component is installed because each component instance has its own classloader

    Show
    The CDK uses several singleton as utility:
    • org.ow2.petals.component.framework.util.UtilFactory
    • org.ow2.petals.component.framework.util.ExchangeUtil
    • org.ow2.petals.component.framework.util.WSDLUtil
    • org.ow2.petals.component.framework.util.XSLTUtil
    • org.ow2.petals.component.framework.util.SourceUtil
    As these singletons are not freed, a new instance is created each time a component is installed because each component instance has its own classloader
  • Environment:
    -

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
48m 43s
1
Christophe DENEUX
Thu, 8 Mar 2012 - 11:31:59 +0100
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Thu, 8 Mar 2012 - 11:32:01 +0100
In Progress In Progress Resolved Resolved
1m 45s
1
Christophe DENEUX
Thu, 8 Mar 2012 - 11:33:46 +0100
Resolved Resolved Open Open
2m 3s
1
Christophe DENEUX
Thu, 8 Mar 2012 - 11:35:49 +0100
Open Open In Progress In Progress
1d 1h 9m
1
Christophe DENEUX
Fri, 9 Mar 2012 - 12:44:54 +0100
In Progress In Progress Resolved Resolved
11m 42s
1
Christophe DENEUX
Fri, 9 Mar 2012 - 12:56:36 +0100
Resolved Resolved Open Open
18d 3h 7m
1
Christophe DENEUX
Tue, 27 Mar 2012 - 17:04:27 +0200
Open Open In Progress In Progress
1d 17h 54m
1
Christophe DENEUX
Thu, 29 Mar 2012 - 10:59:01 +0200
In Progress In Progress Resolved Resolved
8s
1
Christophe DENEUX
Thu, 29 Mar 2012 - 10:59:09 +0200

People

Dates

  • Created:
    Thu, 8 Mar 2012 - 10:43:16 +0100
    Updated:
    Thu, 29 Mar 2012 - 10:59:09 +0200
    Resolved:
    Thu, 29 Mar 2012 - 10:59:09 +0200