Home > Back-end >  UnmapViewOfFile failed to release the memory, memory consumption soon
UnmapViewOfFile failed to release the memory, memory consumption soon

Time:10-19

Cycle call mapviewoffile and unmapviewoffile, found the system to release the memory is too slow, so will soon run out of memory, is there any way I can speed up the release of memory, in addition to Sleep wait and closehandle method,

CodePudding user response:

Get an object pool, may be able to improve efficiency,
  • Related