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

Christophe DENEUX made changes - Thu, 8 Mar 2012 - 10:43:48 +0100
Field Original Value New Value
Link This issue blocks PETALSDISTRIB-2 [ PETALSDISTRIB-2 ]
Christophe DENEUX made changes - Thu, 8 Mar 2012 - 11:31:59 +0100
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Assignee Mathieu Carrolle [ mcarrolle ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Thu, 8 Mar 2012 - 11:32:01 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Thu, 8 Mar 2012 - 11:33:46 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.1.4 [ 10328 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Thu, 8 Mar 2012 - 11:35:49 +0100
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Fri, 9 Mar 2012 - 12:44:54 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Fri, 9 Mar 2012 - 12:56:36 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Tue, 27 Mar 2012 - 17:04:27 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Thu, 29 Mar 2012 - 10:58:25 +0200
Comment [ Reopen to merge the complementary commit (see previous comment) ]
Christophe DENEUX made changes - Thu, 29 Mar 2012 - 10:59:01 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Thu, 29 Mar 2012 - 10:59:09 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]

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