Reference counter (if multiple modules are init/freeing nmem).