# cudaMalloc problem on a Titan card

**URL:** <https://forums.developer.nvidia.com/t/cudamalloc-problem-on-a-titan-card/31902>\
**Category:** CUDA Programming and Performance\
**Created:** [January 7, 2014, 11:22am UTC](https://forums.developer.nvidia.com/t/cudamalloc-problem-on-a-titan-card/31902 "2014-01-07T11:22:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gonna](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gonna](https://forums.developer.nvidia.com/u/gonna)\
**Post date:** [January 7, 2014, 11:22am UTC](https://forums.developer.nvidia.com/t/cudamalloc-problem-on-a-titan-card/31902/1 "2014-01-07T11:22:32Z")

</div>

I have a gtx titam card with 6GB memory. But I failed to malloc 4G consective memory. Two 2GB memory is OK. Why?  
My OS is Win7 x64  
CUDA version is 5.5  
Driver version is 9.18.13.2057

---

<div class="post-metadata">

**Author:** ![cbuchner1](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbuchner1/32/14168_2.png) [@cbuchner1](https://forums.developer.nvidia.com/u/cbuchner1)\
**Post date:** [January 7, 2014, 12:06pm UTC](https://forums.developer.nvidia.com/t/cudamalloc-problem-on-a-titan-card/31902/2 "2014-01-07T12:06:34Z")

</div>

Can nVidia please do something about these spambots?

The WDDM driver model used by Windows Vista and later versions imposes restrictions on the maximum memory allocation size.  
[http://stackoverflow.com/questions/13851287/cuda-and-cudamalloc-allocation-large-block-of-memory-fails](http://stackoverflow.com/questions/13851287/cuda-and-cudamalloc-allocation-large-block-of-memory-fails)

Adding extra system memory to your PC might help a bit. A switch to Linux would fix your problem instantly.

---

<div class="post-metadata">

**Author:** ![gonna](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gonna](https://forums.developer.nvidia.com/u/gonna)\
**Post date:** [January 7, 2014, 5:05pm UTC](https://forums.developer.nvidia.com/t/cudamalloc-problem-on-a-titan-card/31902/3 "2014-01-07T17:05:11Z")

</div>

Thank you very much for your reply!
