Memory Leak in flex

Memory Leak in flex

Page 1 of 1

3 Replies - 4161 Views - Last Post: 23 December 2011 - 05:26 AM

#1 shitaljc  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 14-October 09

Memory Leak in flex

Posted 01 September 2010 - 12:33 AM

Hi ,

I am getting this Error on my Tomcat Commmand prompt window after I close the browser window
of my Flex Web Application.

The web application [/blazeds] created a ThreadLocal with key of type [java.lang.ThreadLocal] <value [java.lang.ThreadLocal@e9d39cl> and a value of type [flex.messaging.client.FlexClient] <value [flex.messaging.client.FlexClient@143b598]> but failed to remove it when the web aplication was stopped.This is very likely to create memory leak.

So Can you please tell me how do i Fix this Problem ? or Possibly a way by which i could kill/destroy
the ThreadLocal just before I close the browser window of my Flex web Application.

My Project uses blazeds,Tomcat as Server side Technologies and my web application is in Flex.
So I do use RemoteObject in my Flex Program and very often make function calls to server using this remoteobject which returns me an Array each time.

Thankyou

Is This A Good Question/Topic? 0
  • +

Replies To: Memory Leak in flex

#2 nick2price  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 562
  • View blog
  • Posts: 2,826
  • Joined: 23-November 07

Re: Memory Leak in flex

Posted 01 September 2010 - 04:04 PM

What version of Tomcat are you using? Either way, this should help you out HERE
Was This Post Helpful? 0
  • +
  • -

#3 shitaljc  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 14-October 09

Re: Memory Leak in flex

Posted 02 September 2010 - 01:16 AM

View Postnick2price, on 01 September 2010 - 03:04 PM, said:

What version of Tomcat are you using? Either way, this should help you out HERE



M using Tomcat 7.0
Was This Post Helpful? 0
  • +
  • -

#4 brunojcm  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-December 11

Re: Memory Leak in flex

Posted 23 December 2011 - 05:26 AM

I have the same problem, on tomcat 6.0.35. But it doesn't seem to be a big problem, if you redeploy the application, Tomcat does not detect the leak anymore.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1