title: Cuda error out of memory
body: <p>I bought Alienware Gpu 1070 for deep learning. <br/>
  but somehow simple Tensorflow running is slower than when I was running Tensorflow on my old only CPU old Dell computer. <br/>
  and I got </p>
  
  <pre><code>I tensorflow/core/common_runtime/gpu/gpu_init.cc:126] DMA: 0 
  I tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 0:   Y 
  I tensorflow/core/common_runtime/gpu/gpu_device.cc:806] Creating TensorFlow device (/gpu:0) -&gt; (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0)
  E tensorflow/stream_executor/cuda/cuda_driver.cc:965] failed to allocate 123.25M (129236992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
  </code></pre>
  
  <p>for simple Tensorflow running. <br/></p>
  
  <p>my nvidia-smi setting as follow <br/></p>
  
  <pre><code>+-----------------------------------------------------------------------------+
  | NVIDIA-SMI 384.81                 Driver Version: 384.81                    |
  |-------------------------------+----------------------+----------------------+
  | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
  | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
  |===============================+======================+======================|
  |   0  GeForce GTX 1070    Off  | 00000000:01:00.0  On |                  N/A |
  | N/A   49C    P0    31W /  N/A |   7915MiB /  8105MiB |      0%      Default |
  +-------------------------------+----------------------+----------------------+
  
  +-----------------------------------------------------------------------------+
  | Processes:                                                       GPU Memory |
  |  GPU       PID   Type   Process name                             Usage      |
  |=============================================================================|
  |    0      1053      G   /usr/lib/xorg/Xorg                           299MiB |
  |    0      1985      G   compiz                                       257MiB |
  |    0     26444      G   ...-token=35E56369B532703BC65298BE4DF4A2E8   121MiB |
  |    0     27364      C   /home/jake/tensorflow/bin/python3           6997MiB |
  |    0     29540      C   /home/jake/tensorflow/bin/python3            235MiB |
  +-----------------------------------------------------------------------------+
  </code></pre>
  
  <p>I can not guess why my new GPU computer makes so much sound and so much slower than my old computer. <br/></p>
  
  <p>is there other settings I should do for  Deep learning with GPU? </p>