I have 3 GB of RAM. Is there a way to allocate only 512 MB of RAM for a C ++ application?
Else
Is there a way to reduce my RAM to 512 MB for testing time?
Thanks Ashok
Use SetProcessWorkingSetSize ()
Sets the minimum and maximum sizes of the working set for the specified process.
Source: https://habr.com/ru/post/1796197/More articles:How to update results on my site using AJAX? - ajaxhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1796193/git-push-windows-to-windows&usg=ALkJrhjpqOQl9FRE9zn9yDgBAtFZRgzFiwCreating a new type of template container in C ++ - c ++CCMenuItemImage does not respond to touch! - iphonejQuery Ajax with ASP.NET MVC Action: Passing arguments from JavaScript to POST - javascriptHow to configure init.d rc script for Daemon-kit project? - autostartCan a Django view return a title first? - pythonRunning JUnit through Eclipse - eclipsePrevent spamming links through forms on rails - securitySort numbers (and numbers + letters) using sqlite - sortingAll Articles