diff --git a/src/cma/cma_utils.cpp b/src/cma/cma_utils.cpp index 8db6f84a9..69d326db8 100644 --- a/src/cma/cma_utils.cpp +++ b/src/cma/cma_utils.cpp @@ -32,6 +32,7 @@ int CmaGetReservedHugePagesCount(void) void CmaCreateMemoryCollectorThread(void) { memoryCollectorThread = CreateThread(NULL, 0, MemoryAllocatorThread, NULL, 0, NULL); + SetThreadPriority(memoryCollectorThread, THREAD_MODE_BACKGROUND_BEGIN); } void CmaTerminateMemoryCollectorThread(void)