I am having the same issue as the topic:
[980 Ti, Windows 10, CUDA 7.5] Out of memory after allocating 4.5 out of 6gb
If I ran TensorFlow, it shows only 4.97G Free Memory. If I ran Theano, only 82.3% memory maximum can be allocated. If I check with Matlab, it says:
It seems this issue does not depend on whether I use this card for display or not: I switch to on-board Intel GPU for display, but it returns the exact same available memory amount. Nvidia-msi only report 40MB memory in use.
I did a lot of research online, hardly find any topic discussing this. Is there a way to have the missing 1GB memory available for computation?