We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 108703c commit 725fd83Copy full SHA for 725fd83
Python/pylifecycle.c
@@ -514,7 +514,9 @@ get_huge_pages_privilege(void)
514
if (!status || (error != ERROR_SUCCESS))
515
{
516
CloseHandle(hToken);
517
- return _PyStatus_ERR("failed to obtain SeLockMemoryPrivilege for huge pages");
+ return _PyStatus_ERR(
518
+ "SeLockMemoryPrivilege not held; "
519
+ "grant it via Local Security Policy or disable PYTHON_PYMALLOC_HUGEPAGES");
520
}
521
if (!CloseHandle(hToken))
522
0 commit comments