Hi ShilinHE, I can’t tell what the problem is from your description.  I guess you will need to report more info to get help.  But just monitoring memory usage won’t necessarily tell you if running out of memory is the issue since it could fail on a big allocation or very quickly rather than gradually running out of memory.