![]() The interesting question is: Is this a good idea? To answer that question one needs to understand how memory management works in detail. One usage scenario might be that our process is not used for some time so it might be a good idea to page out its memory to make room for other processes which need the physical memory more urgently. Since a long time you can also use use EmptyWorkingSet which does the same job with a simpler API call. One such API where many myths are heard about is SetProcessWorkingSetSize which can be used to trim the current working set of a process. If you expect performance gains by using a specific API you must measure on the actual target operating system under a realistic load.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |