Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    memory leak

    I am looking at our tomcat logs and have some SEVERE errors related to Smart GWT. Can you tell me if I need to do something about these? Here is the info

    1. We have bought the pro version of Smart GWT 3.1
    SmartClient Version: SNAPSHOT_v8.3d_2012-09-20/PowerEdition Deployment (built 2012-09-20)

    2. browser(s) and version(s) involved
    In this case I am looking at the Tomcat Apache log version 6.0.35 and not using a browser

    3. for a server-side problem, the *complete* logs generated during processing of the failing request (do *not* trim to just the error message)

    See below for the log
    Questions
    1. Do I need to do something abou this DSRequest memory leak?
    2.

    Thanks,
    Evan

    Log from Tomcat
    Mar 21, 2013 6:46:35 PM org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    Mar 21, 2013 6:46:36 PM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Mar 21, 2013 6:46:38 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
    SEVERE: The web application [/relay-bdlive-1.3.403] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
    Mar 21, 2013 6:46:38 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    SEVERE: The web application [/relay-bdlive-1.3.403] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@111de95a]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@5cd37d44]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
    Mar 21, 2013 6:46:38 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    SEVERE: The web application [/relay-bdlive-1.3.403] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@111de95a]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@6decb6a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
    Mar 21, 2013 6:46:38 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    SEVERE: The web application [/relay-bdlive-1.3.403] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@111de95a]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@75f9140f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

    #2
    We'll check this out, but if there's a real leak, it would most likely be a trivial amount of memory in this case, and only when applications are shutdown/re-deployed without restarting Tomcat as a whole.

    It's unclear if the warning about MultiThreadedHttpConnectionManager is related to SmartGWT. That's a class in the HttpClient commons library; other people seem to get a similar warning when using Apache Axis or Spring WS.

    Are you seeing this warning with a stock sample project from SmartGWT?

    Comment


      #3
      Memory Leak [com.isomorphic.datasource.DSRequest]

      May I know is that solved?
      I have faced the same issue too:
      Jul 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@1d25c96]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@17349c5]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@b92d71]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@b0bb83]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@8f9ab4]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@9fbd95]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@12dbcfc]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@2c4623]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/webcomm] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1ac1210]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@2fa282]) 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 17, 2013 1:30:07 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      Comment


        #4
        I'm also getting lots of these since a good while back every time i shut down Tomcat:

        SEVERE: The web application [/xxx] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1b4af8a0]) and a value of type [com.isomorphic.datasource.DSRequest] (value [com.isomorphic.datasource.DSRequest@7d514099]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
        Mar 5, 2014 10:12:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

        Doesn't look very nice.

        Comment


          #5
          This has been corrected for a long time, get a more recent build.

          Note that Tomcat's "SEVERE" warning reports a leak that would only cause significant memory loss if an app was re-deployed 100s of thousands of times without shutting down Tomcat. So a bit overwrought.

          Comment

          Working...
          X