Strategies For Tracking Down Memory Leaks When You've Done Everything Wrong

后端 未结 13 1769
醉话见心
醉话见心 2020-12-14 12:50

My program, alas, has a memory leak somewhere, but I\'ll be damned if I know what it is.

Its job is to read in a bunch of ~2MB files, do some parsing and string repl

13条回答
  •  佛祖请我去吃肉
    2020-12-14 13:31

    Get this: http://www.red-gate.com/Products/ants_profiler/index.htm

    The memory and performance profiling are awesome. Being able to actually see proper numbers instead of guessing makes optimisation pretty fast. I've used it quite a bit at work for reducing the memory footprint of our main app.

提交回复
热议问题