Quick diagnosis
Check the permission message and each allocation percentage separately. XMRig’s current Huge Pages documentation shows the permission message * HUGE PAGES permission granted and an allocation example huge pages 100%. The first establishes that the process has Windows’ SeLockMemoryPrivilege; it does not establish that the requested memory was allocated. A percentage describes the allocation XMRig reports, not the reason for any shortfall.
The table below is a signal guide, not a promise that every XMRig version prints identical surrounding lines. Use the exact wording and allocation labels in your own startup output. Technical review: 10 October 2026. XMRig 6.26.0 was the latest release on the official project pages at that review; the privilege and allocation advice follows the current documentation and should be checked against your own XMRig/Windows version before a system-policy change. On narrow screens, scroll the table region horizontally; the rest of the article reflows to the viewport.
Scrollable table: use Shift and the mouse wheel, touch, or arrow keys while this region is focused.
| Observed XMRig signal | What it establishes | What it does not establish | Safe next check |
|---|---|---|---|
* HUGE PAGES permission granted is absent, or XMRig reports the privilege unavailable | The running process has not reported the required privilege as available. | It does not tell you why the right is absent, whether policy allows it, or whether allocation would succeed once available. | Check XMRig's current Windows instructions. If the device is managed, ask its administrator before changing user-right policy. Do not leave the miner set to always run elevated. |
| Permission is granted; a reported allocation is 0% | The right is available to the process, while that requested allocation was not reported as successful. | It does not prove that the privilege setting is wrong or identify the allocation failure's cause. | Record which allocation line is affected. Close memory-heavy work if practical, restart Windows, then inspect a fresh startup log as XMRig recommends for less than full allocation. |
| Permission is granted; one or more reported allocations are below 100% | Allocation is partial for the specific dataset/thread item shown. | It does not identify a single cause, and one item does not describe every allocation. Memory pressure and system layout can matter. | Read the dataset and thread lines separately; note RandomX mode, NUMA/node information and available memory. Retry after a restart before changing configuration. |
A reported allocation is huge pages 100% | XMRig reports full Huge Pages allocation for that item. | It does not prove every other item is full, that the setup is optimally configured, or that hashrate/temperature/responsiveness will meet a target. | No Huge Pages change is indicated for that item. If performance is still a concern, use the low-hashrate checklist and compare like-for-like runs. |
| The excerpt is incomplete or contains no interpretable permission/allocation line | Nothing reliable about Huge Pages status can be concluded from that excerpt. | Silence or a missing line does not prove support, privilege, allocation, or failure. | Use the complete startup section for your XMRig version. The local XMRig Log Decoder recognizes only a bounded set of explicit signals; unknown output stays unknown. |
This is why “permission granted” and “allocation succeeded” are separate outcomes: Windows grants a user right to the process, while XMRig still has to obtain the requested memory when it initializes. Windows does not reserve the pages in advance for XMRig; other use of memory can affect allocation. Full allocation for one line does not explain the rest of the system.
What the messages mean
Compare the full and partial allocation examples with the exact region named in your output.
XMRig calls the feature “Huge Pages” across operating systems. Windows documentation calls its corresponding memory pages Large Pages. XMRig says the required Windows user right is SeLockMemoryPrivilege, displayed in policy interfaces as Lock pages in memory.
The startup output can report permission separately from the amount allocated. A 0% or partial figure means XMRig did not allocate all the requested pages for that item; it does not by itself identify why. RandomX allocates a dataset and cache, and output can show them separately. Read the labels and denominators rather than treating one percentage as a diagnosis.
Permission granted, but less than 100%
XMRig documents that Windows cannot reserve Huge Pages in advance for later use. Allocation can therefore fail when memory conditions do not permit it, even when the privilege is present. Other running applications can be using memory. Its recommended first step for less than full allocation is a reboot.
RandomX’s fast mode has a sizeable memory footprint, with additional needs varying by NUMA node and the miner’s allocations. Available system RAM is not the only factor: active applications and Windows itself also need memory. See RandomX memory and cache explained for the distinctions.
Microsoft cautions that Lock Pages in Memory can reduce the RAM available for Windows to reclaim under pressure. Keep the right limited to the account that needs it; do not assign it broadly as a performance tweak.
How to obtain the Windows right
XMRig documents two routes that require administrator rights: run the miner as Administrator once and reboot, or assign the Windows Lock pages in memory user right manually. XMRig notes that after the right is obtained, Windows 10 no longer requires administrator rights for Huge Pages allocation; its page separately calls out Windows 7 as different. Treat that as XMRig’s documented version guidance, not as a claim that every managed Windows installation has the same policy.
If this is a work-managed computer, ask its administrator before changing local security policy. A policy set by an organisation may override a local change. Avoid leaving the miner set to always run elevated if you do not need that; elevation grants broader access than the memory right alone.
When the setup is already working
If XMRig reports permission granted and full allocation for the RandomX dataset and threads, Huge Pages are enabled for those reported allocations. No additional “Huge Pages fix” is called for. If hashrate still looks low, compare like-for-like runs and inspect thread selection, MSR status, CPU cache, temperatures and competing load. The low XMRig hashrate checklist walks through those checks.
Do not copy another machine’s page counts or memory-pool settings blindly. NUMA layout, RandomX mode and available memory change what is requested. If the PC becomes less responsive under load, stop the miner and reassess; locked pages reduce memory Windows can reclaim. If you have a startup excerpt, the XMRig Log Decoder can recognize explicit CPU Huge Pages allocation lines locally. It does not determine why an allocation was partial.
Read privilege, allocation and performance separately
- Privilege availability
- Unavailable: check the reported privilege and Windows guidance. Granted: allows a request, not guaranteed allocation. A missing line alone is inconclusive.
- Check the Windows right
- Allocation outcome
- Read each labelled item: unknown, 0%, partial or 100%. A shortfall does not identify its cause.
- Check incomplete allocation
- Performance implications
- One full item does not establish all allocations or good performance. Full allocation alone calls for no extra Huge Pages fix.
- Compare low-hashrate symptoms
First read privilege availability, then allocation for every reported item, then compare performance. Missing or partial output does not identify a cause. Use the full signal table above for safe next checks; ask the administrator before managed-device policy changes.
Sources
- XMRig: Huge Pages Accessed
- Microsoft Learn: Privilege Constants — SeLockMemoryPrivilege Accessed
- Microsoft Learn: Lock pages in memory Accessed