Default Memory Manager Implementation for XARK core