This discussion is archived
2 Replies Latest reply: Jun 18, 2011 3:01 AM by rukbat RSS

Need help finding the root cause of memory leak in weblogic 9.2

869728 Newbie
Currently Being Moderated
Hi,

I'm using WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826

with

java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
BEA JRockit(R) (build R27.2.0-131-78843-1.5.0_10-20070320-1511-linux-ia32, compiled mode)

I got memory leak on production which I cannot reproduce on development environment. I ran heap_diagnostic on production and see below

--------- Detailed Heap Statistics: ---------
32.4% 34038k 18470 +34038k [B
24.7% 25914k 207602 +25914k [C
4.8% 5061k 215949 +5061k java/lang/String
3.2% 3320k 127013 +3320k [Ljava/lang/String;
3.1% 3223k 50693 +3223k [Ljava/lang/Object;
2.9% 3052k 35660 +3052k [Ljava/util/HashMap$Entry;
2.2% 2286k 13105 +2286k [I
1.7% 1820k 16648 +1820k java/lang/Class
1.6% 1651k 70456 +1651k java/util/HashMap$Entry
1.5% 1606k 34269 +1606k java/util/HashMap
1.0% 1070k 9786 +1070k java/net/SocksSocketImpl
0.8% 873k 11179 +873k java/lang/reflect/Method
0.8% 820k 35013 +820k java/util/ArrayList
0.7% 701k 4723 +701k weblogic/servlet/internal/ServletRequestImpl
0.6% 664k 4723 +664k weblogic/servlet/internal/MuxableSocketHTTP
0.6% 628k 20099 +628k java/util/TreeMap$Entry
0.5% 502k 8057 +502k [[Ljava/lang/String;
0.5% 493k 21055 +493k java/util/Hashtable$Entry
0.5% 490k 20925 +490k java/lang/ref/WeakReference
0.4% 430k 23331 +430k [Lcom/bea/staxb/buildtime/internal/bts/JavaTypeName;
0.4% 403k 7371 +403k com/bea/staxb/buildtime/internal/bts/QNameProperty
0.4% 401k 4671 +401k org/hibernate/loader/entity/EntityLoader
0.4% 368k 4723 +368k weblogic/servlet/internal/ServletResponseImpl
0.3% 364k 23304 +364k com/bea/staxb/buildtime/internal/bts/MethodName
0.3% 339k 3927 +339k [Ljava/util/Hashtable$Entry;
0.3% 332k 4724 +332k weblogic/servlet/internal/VirtualConnection
0.3% 303k 12968 +303k com/bea/staxb/buildtime/internal/bts/JavaTypeName
0.3% 295k 4723 +295k weblogic/utils/http/HttpRequestParser
0.3% 294k 9436 +294k java/util/LinkedHashMap$Entry
0.3% 268k 79 +268k [Ljava/util/WeakHashMap$Entry;
0.2% 251k 6440 +251k org/hibernate/loader/DefaultEntityAliases
0.2% 247k 10541 +247k javax/xml/namespace/QName

Weak references: 22509 (0 cleared this GC)
java/lang/ref/WeakReference: 20871 (0)
9448 ( 0) weblogic/servlet/internal/MuxableSocketHTTP
6155 ( 0) java/lang/Class
4724 ( 0) weblogic/servlet/internal/ServletResponseImpl
248 ( 0) java/lang/reflect/Method
133 ( 0) sun/misc/Launcher$AppClassLoader
75 ( 0) weblogic/utils/classloaders/ChangeAwareClassLoader
29 ( 0) weblogic/rmi/internal/ClientRuntimeDescriptor
23 ( 0) java/util/logging/Logger
20 ( 0) java/net/URLClassLoader
3 ( 0) weblogic/utils/classloaders/GenericClassLoader
2 ( 0) sun/misc/Launcher$ExtClassLoader
2 ( 0) org/dom4j/Namespace
2 ( 0) weblogic/rjvm/t3/MuxableSocketT3
1 ( 0) weblogic/diagnostics/archive/filestore/ServerLogFileDataArchive
1 ( 0) weblogic/diagnostics/archive/filestore/AccessLogFileDataArchive
1 ( 0) com/bea/xbean/schema/SchemaTypeLoaderImpl
1 ( 0) javax/management/remote/rmi/RMIConnectionImpl
1 ( 0) weblogic/rjvm/t3/MuxableSocketT3$T3MsgAbbrevJVMConnection
1 ( 0) com/sun/jmx/interceptor/DefaultMBeanServerInterceptor$ListenerWrapper
1 ( 0) com/ebay/kernel/cal/java/CalClientConfigBean

The things which seem out of place are java/net/SocksSocketImpl, weblogic/servlet/internal/ServletRequestImpl, weblogic/servlet/internal/MuxableSocketHTTP.

Anyone has any idea what could be causing the memory leak? I cannot run memory leak detector on production so I have no clue how to proceed further.

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points