mercredi 13 octobre 2021

Is there any way to monitor memory usage during runtime of a C++ kernel program?

I keep getting the "Out of memory: Killed process 'process' score 'score' or sacrifice child" error message after about 6 hours of a C++ program being run in an AWS instance.

After reading the code, I don't see why the data would be taking up much memory. The only variables being kept are a few vectors (200 length max) and some floats.

Is there any way to monitor the memory usage and the variables taking up memory during runtime of a C++ program?

Aucun commentaire:

Enregistrer un commentaire