Skip to content

Code shyari

Ravi Mohan edited this page Dec 8, 2022 · 1 revision

Memory leaks and unsafe memory operations can Br detected with valgrind, additionally you could run your program with thread sanitizer and address sanitizer enabled ( this depends on the compiler support). But if you are looking for memory dimensioning your software, it’s a bit involved process, we once did it with some instrumentation to keep tabs on all the allocations and deallocations, logging it while software is subject to huge load and we analysed the logs to come up with memory requirements [9:12 AM] There are probably better tools available now. [9:17 AM] https://devblogs.microsoft.com/cppblog/addresssanitizer-asan-for-windows-with-msvc/ msvc has asan support

Clone this wiki locally