On an Ubuntu 22.04 LTS system, we are developing a medical application using the NDI SDK v6.2.0 that requires Full NDI send/receive functionality. The relevant features have been implemented, but during testing, occasional memory growth is observed, eventually leading to program crashes. Sometimes the program runs stably without any memory increase. How should such issues be investigated?