4 ms·
I follow a similar approach. Valgrind is a must. Just using malloc()+memset(,0,) in release, to override someway the Linux OOM killer. In starvation, malloc+me
by amadvance 11y ago
I follow a similar approach. Valgrind is a must. Just using malloc()+memset(,0,) in release, to override someway the Linux OOM killer.
In starvation, malloc+memset "usually" results in a malloc() failure, instead of the process being silently killed by the OOM killer.