Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-28957

OpenSocial memory leaks when shutting down liferay

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.30 EE GA3, 6.2.0 CE M2, 6.2.10 EE GA1, 6.2.X EE
    • Fix Version/s: None
    • Environment:
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Deploy the OpenSocial portlet
      2. Add the portlet
      3. Configure the portlet with this url: http://opensocial-resources.googlecode.com/svn/samples/tutorial/tags/api-0.8/helloworld.xml
      4. Shut down Liferay
        • The following memory leak errors will display
      SEVERE: The web application [/opensocial-portlet] appears to have started a thread named [com.google.common.base.internal.Finalizer] but has failed to stop it. This is very likely to create a memory leak.
      Jul 30, 2012 6:02:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/opensocial-portlet] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@144700b2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@417eb084]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
      Jul 30, 2012 6:02:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/opensocial-portlet] created a ThreadLocal with key of type [org.apache.shindig.common.xml.XmlUtil$2] (value [org.apache.shindig.common.xml.XmlUtil$2@6476cbb3]) and a value of type [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl] (value [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl@3337884c]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
      Jul 30, 2012 6:02:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/opensocial-portlet] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@144700b2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@2d54fd9]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
      Jul 30, 2012 6:02:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/opensocial-portlet] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@144700b2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@26d3103]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

      For automation results, see: http://build-1/1/view/liferay-portal%28ee-6.2.x%29/job/liferay-portal-frontend-tomcat(ee-6.2.x)%5Bportal-tools%5D/label_exp=!build-1,test=PortletpluginsTestCase%23testOpenSocialPortletSmoke/

        Attachments

          Activity

            People

            Assignee:
            brian.chiu Brian Chiu (Inactive)
            Reporter:
            brian.chiu Brian Chiu (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 39 weeks, 2 days ago

                Packages

                Version Package