title: Tensorflow gpu version running out of memory with 16GB RAM and 8 GB GPU Nvidia Quadro M4000
body: <p>I am working on tensorflow using GPU a Nvidia Quadro M4000 8GB graphic card.
  I am having a issue of memory error. I have tried using memory growth method but still facing the same.</p>
  
  <pre><code>ResourceExhaustedError: OOM when allocating tensor with shape[1,64,1228,1029] 
  </code></pre>
  
  <p>here the shape [1,64,1228,1029] comes after the first pooling layer</p>
  
  <p>Everything is been installed on Windows 7:</p>
  
  <ul>
  <li>python3.5.2</li>
  <li>virtualenv</li>
  <li>cuda toolkit 8.0</li>
  <li>cudnn 5.1</li>
  </ul>