Gozala / hackalyst

Hack catalyst: Knowledge exchange community
9 stars 1 forks source link

Methods and tools to detect and fix memory leaks in JavaScript #10

Open valueof opened 11 years ago

valueof commented 11 years ago

Would love to learn different methods and tools people use to detect memory leaks in JavaScript. JS apps are quite often very leaky.

Raynos commented 11 years ago

I've been playing a lot with smartos and mdb recently. ::jsfindobjects is pretty awesome.

russplaysguitar commented 11 years ago

:+1:

kohlerm commented 11 years ago

Hi, Chrome supports heap snapshots: https://developers.google.com/chrome-developer-tools/docs/heap-profiling The tools are kind of in an early stage and are not easy to use.

I have an early version of http://www.eclipse.org/mat/ running, which can read those Chrome/V8 heap snapshots.

It already works pretty well, IMHO better than what the Chrome dev tools offer.

I'm currently in the process to get it open sourced, stay tuned!

Regards, Markus

Gozala commented 11 years ago

@kohlerm wanna talk about this ?

Gozala commented 11 years ago

:+1:

kohlerm commented 11 years ago

Yes. I cannot show it until my company has gone all the way to get it open source

dominictarr commented 11 years ago

+1