This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 127503 - Memory leak of BPEL DesignView
Summary: Memory leak of BPEL DesignView
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords: PERFORMANCE, TEST
Depends on:
Blocks:
 
Reported: 2008-02-15 18:01 UTC by Alexander Kouznetsov
Modified: 2008-02-26 16:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2008-02-15 18:01:43 UTC
Product Version         = NetBeans IDE Dev (Build 080215)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03; Sun Microsystems Inc.

Open Complex Diagram test reports (not integrated) the following leak. See also issue 121855 for information.

junit.framework.AssertionFailedError: Can GC BPEL design view without problems BPEL DesignView:
private static final java.util.Map org.openide.util.lookup.MetaInfServicesLookup.knownInstances->
java.util.WeakHashMap@1c633a7-table->
[Ljava.util.WeakHashMap$Entry;@15f3563-[493]->
java.util.WeakHashMap$Entry@fcc0c3-value->
org.netbeans.modules.bpel.search.impl.diagram.Engine@c1af9e-mySearchListeners->
java.util.ArrayList@156341b-elementData->
[Ljava.lang.Object;@72ff12-[0]->
org.netbeans.modules.bpel.search.impl.ui.Find$Provider@1dc0723-mySource->
org.netbeans.modules.bpel.diagram.DiagramImpl@c38565-myView->
org.netbeans.modules.bpel.design.DesignView@b894ee
Comment 1 Sergey Lunegov 2008-02-17 15:30:18 UTC
Alexey, please look at this.
Comment 2 Alexey Yarmolenko 2008-02-19 11:14:09 UTC
Vladimir, you can add call to SearachProvider cleanup to DesignView.release method.

Comment 3 Vladimir Yaroslavskiy 2008-02-19 12:57:44 UTC
fixed:

bpel.editors/src/org/netbeans/modules/bpel/editors/multiview/DesignerMultiViewElement.java
bpel.search/src/org/netbeans/modules/bpel/search/impl/ui/Find.java
bpel.search/src/org/netbeans/modules/bpel/search/spi/SearchEngine.java

68112:e0b51b3a4892
Comment 4 Alexander Kouznetsov 2008-02-26 16:08:35 UTC
Verified with
  Product Version         = NetBeans IDE Dev (Build 200802251204)
  Operating System        = SunOS version 5.10 running on x86
  Java; VM; Vendor        = 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19; Sun Microsystems Inc.