Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check memory leak or memory usage of Javascript

Status
Not open for further replies.

ericazhangjun

Programmer
Nov 27, 2007
4
CA
Hi,

I am new for Javascript. I found my webpage is becoming slower and slower. I want to know how to check memory leak or memory usage of Javascript.

Thanks,

Jun
 
I mean if there is some tool to help me check memory leak dynamically, while I running the script.

I have found one on firefox.
 
Assuming you want one for IE (you don't say), try this:




These were found in the first 10 results for a Google search on "memory leak tool".

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
I am using firefox, because I have to use greasemoney.

Could you recommend some tools used on firefox ?

Thanks,

Jun
 
You said you'd found one, so I assumed you wanted tools for another browser. Perhaps if you'd given clear requirements to start with?

You'd now not said which tool you've found for Firefox, so hopefully this isn't duplicating your findings:


If it is, perhaps you could start giving us some better information.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
If it is, perhaps you could start giving us some better information.

Or better yet, you could save Dan some time and just google it yourself.

-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson

[small]<P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B>[/small]
 
Hi Dan,

Thanks a lot. Yes. I am using Leak Monitor to check if there is memory leak. However, I found it not be able to work on Solaris x86. After I deploy an environment on Linux. Firefox always crashes. Also it could not find memory leak caused by greasemonkey script. I do not know why.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top