I have a program running in my Centos7 that is loading a shared object. When loading this .so file, it returns this error:
dlopen() failed: libm.so.6: failed to map segment from shared object: Cannot allocate memory
I have tried setting the following:
ulimit -m unlimited ulimit -v unlimited
But it is still failing.
Currently, here's the memory usage of my machine:
total used free shared buff/cache available
Mem: 3789 1671 1276 19 841 1786
Swap: 2047 0 2047
Looking for some inputs as to why I am seeing this error. The libraries are present in the expected library path.
Aucun commentaire:
Enregistrer un commentaire