When to call SetProcessWorkingSetSize? (Convincing the memory manager to release the memory)

后端 未结 5 2004
故里飘歌
故里飘歌 2020-12-11 10:54

In a previous post ( My program never releases the memory back. Why? ) I show that FastMM can cache (read as hold for itself) pretty large amounts of memory. If your applica

5条回答
  •  庸人自扰
    2020-12-11 11:14

    I agree with Lars Truijens 100%, if you don't than you can check the FasttMM memory usage via FasttMM calls GetMemoryManagerState and GetMemoryManagerUsageSummary before and after calling API SetProcessWorkingSetSize.

提交回复
热议问题