The discrepancy between allocated memory (PrivateMemorySize64) and the working set (WorkingSet64) is due to Windows' memory management. When you allocate memory using malloc(), Windows reserves virtual memory, but physical memory (RAM) is only allocated when the memory is accessed. The working set represents the memory portion actively in use and kept in RAM, while less-used pages may be trimmed or not allocated until needed. This behavior is as expected and reflects the efficient optimization of memory, even while the page file is disabled.