(Sorry if this has already been resolved, I couldn’t find anything when searching the forums).
Windows 7 64-bit
8 GB RAM
When trying to allocate a large chunk (> 1GB) of host, page-locked (pinned) memory I get the following error:
Out of Memory
This occurs for any type of cuda page-locking API calls (CudaHostAlloc, Mallochost, calling VirtualAlloc then cudaHostRegister).
What CUDA and/or Windows settings do I need to change to be able to allocate large chunks of pinned host memory?
Reading the release notes, I found:
o The maximum size of a single allocation created by cudaMalloc
or cuMemAlloc is limited to:
MIN ( ( System Memory Size in MB - 512 MB ) / 2, PAGING_BUFFER_SEGMENT_SIZE )
For Vista, PAGING_BUFFER_SEGMENT_SIZE is approximately 2GB.
I’ve tried manually setting Paging File Size to 8 - 16GB. Looking at the task manager says I have at least 3GB of free memory.
Has anyone had this problem? Or can someone point me in the right direction to resolve this problem?
Any help would be appreciated.