Home > OS >  Under Linux system program memory, what are the commonly effective positioning methods and tools????
Under Linux system program memory, what are the commonly effective positioning methods and tools????

Time:11-09



Such as a large project, the code is heavy, file a lot of, now out of memory, how to find the source? The interview was asked, don't answer, failure

CodePudding user response:

Topic,

Tools:
- Valgrind memcheck
- free -m

Positioning methods:
- the core dump
- the GDB
- increases the print information
- comment block
  • Related