Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In a garbage collected language it is way easier than having to trace malloc()/free() calls and then run perl scripts. The sandbox the program is running in can just be changed accordingly, see

http://guppy-pe.sourceforge.net/#Heapy

for a Python heap profiler. As for C, my weapon of choice is Valgrind. It sandboxes the application and can also do some simple cache profiling etc. It is pretty easy to run as well as there are no need to link any special memory allocator into your program.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: