Editor

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-28 15:13:11 -07:00
committed by Esteban Papp
parent 67a5bc98ce
commit 9c5b2768e2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3380,7 +3380,7 @@ CCryEditDoc* CCryEditApp::OpenDocumentFile(const char* lpszFileName)
void CCryEditApp::OnResourcesReduceworkingset()
{
#ifdef WIN32 // no such thing on macOS
SetProcessWorkingSetSize(GetCurrentProcess(), -1, -1);
SetProcessWorkingSetSize(GetCurrentProcess(), std::numeric_limits<SIZE_T>::max(), std::numeric_limits<SIZE_T>::max());
#endif
}