Write reasonable error message into /tmp/dump_memusage when failed to load modules