Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I track down memory problems in sus?

memory problems sus track
0
Posted

How can I track down memory problems in sus?

0

Make sure your build is configured with –enable-sci-malloc. If you set the environment variable MALLOC_STRICT (under tcsh: setenv MALLOC_STRICT) then the memory management system will fill “memory” with “bogus” data that can help track down memory errors. NOTE: if you set MALLOC_STRICT and suddenly your program starts dieing, it is very likely that there is an uninitialized variable in your code that (luckily) defaulted to 0 and thus worked. However, the default to 0 is a coincidence and should not be relied upon.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123