2 Replies Latest reply on Jun 20, 2008 2:41 PM by 666705

    OutOfMemory Error when deploying application in WL10

    666705
      I've got an application that I am able to deploy from the WL9 console without hickups. But when I try to deploy it through WL10 console, it hangs and eventualy throws an OutOfMemory error. I've tried doubling the memory I allocate to WL but this does nothing. I can manually edit the config.xml to deploy the application and it works but I am unable to expand or view it from the console without getting the same OutOfMemory error. Any ideas?
        • 1. Re: OutOfMemory Error when deploying application in WL10
          666705
          Admin console looks performance intensive and should not need JVM tuning just to run admin console, However please turn on GC logs on admin server to find out which are of the JVM is running out of memory.

          -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xloggc:gc_server1.log

          Jayesh
          Yagna Sys
          • 2. Re: OutOfMemory Error when deploying application in WL10
            666705
            I ran a profiler on wl when getting the OutOfMemory error and the class weblogic.j2ee.descriptor.wl.WeblogicEjbJarBeanDConfig seems to be the culprit. Does WL10 load EJBs differently into memory than WL9?

            Also, I added the -verbosegc option to my vm args and it looks like the eden space isnt getting released. Not sure what that is supposed to tell me...

            1318.268: [Full GC {Heap before gc invocations=166:
            def new generation   total 56576K, used 56576K [0xccc00000, 0xd04e0000, 0xd04e0000)
              eden space 54912K, 100% used [0xccc00000, 0xd01a0000, 0xd01a0000)
              from space 1664K, 100% used [0xd01a0000, 0xd0340000, 0xd0340000)
              to   space 1664K,   0% used [0xd0340000, 0xd0340000, 0xd04e0000)
            tenured generation   total 466048K, used 466048K [0xd04e0000, 0xecc00000, 0xecc00000)
               the space 466048K, 100% used [0xd04e0000, 0xecc00000, 0xecc00000, 0xecc00000)
            compacting perm gen  total 83456K, used 83263K [0xecc00000, 0xf1d80000, 0xf8c00000)
               the space 83456K,  99% used [0xecc00000, 0xf1d4fdf0, 0xf1d4fe00, 0xf1d80000)
            No shared spaces configured.
            1318.268: [Tenured: 466048K->466048K(466048K), 6.4704001 secs] 522624K->513170K(522624K), [Perm : 83263K->83263K(83456K)]Heap after gc invocations=167:
            def new generation total 56576K, used 47122K [0xccc00000, 0xd04e0000, 0xd04e0000)
            eden space 54912K, 85% used [0xccc00000, 0xcfa04970, 0xd01a0000)
            from space 1664K, 0% used [0xd01a0000, 0xd01a0000, 0xd0340000)
            to space 1664K, 0% used [0xd0340000, 0xd0340000, 0xd04e0000)
            tenured generation total 466048K, used 466048K [0xd04e0000, 0xecc00000, 0xecc00000)
            the space 466048K, 100% used [0xd04e0000, 0xecc00000, 0xecc00000, 0xecc00000)
            compacting perm gen total 83456K, used 83263K [0xecc00000, 0xf1d80000, 0xf8c00000)
            the space 83456K, 99% used [0xecc00000, 0xf1d4fdf0, 0xf1d4fe00, 0xf1d80000)
            No shared spaces configured.

            --
            Edited by kadire at 06/20/2008 7:41 AM