title: I am sometimes getting out of memory while training a model
body: <p>Tensorflow Version : TF1.13
  Using Anaconda</p>
  
  <p>I studied in stack overflow to set :<br>
  TF_CUDNN_WORKSPACE_LIMIT_IN_MB = 100
  To reduce the scratch space for tensorflow which is 4GB by default</p>
  
  <p>GPU : NVIDIA GTX 1660 TI 6GB card
  CUDA Version : 11.0</p>
  
  <p>But I do not know how to set the environment variable.
  I couldn't find any tutorial on it. Since I am a beginner with this can anyone give any links or tell how to set this variable?? It would be really helpful for me.</p>