I’ve recently upgraded a workstation to 1TB of RAM and since doing so I have been unable to allocate any page locked memory of size >2GB. It works perfectly fine with any other RAM configuration (eg 768GB) and I know my PC supports the new 1TB config. I’m a bit lost over what could be causing this
If the issue is reproduceable with a minimal plain CUDA program, with the latest CUDA version (12.6 update 3) and driver package available, I would suggest filing a bug with NVIDIA.
There could be a bug of the “internal integer overflow” kind at the core of the problem. It could be due something in the CUDA software stack or part of the operating system. My assumption is that machines with >= 1TB of system memory are still sufficiently rare that the possibility of a software test escape is a possibility.