title: MYSQL | Can't create a new thread (errno 12); if you are not out of available memory
body: <p>i have installed mysql executable on local machine on windows 7.</p>
  
  <p>Database is working fine, but sometimes it gets very very slow, and today i got this error.</p>
  
  <pre><code>Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
  </code></pre>
  
  <p>i ran simple query..</p>
  
  <pre><code>select * from `hrms_test_db`.`ml_month` limit 0, 1000
  </code></pre>
  
  <p>system is Core 2 Duo, and 4GB Ram..</p>
  
  <p>How can i make my mysql server run smoothly? 5 friends are accessing the server altogether for development purposes..</p>
  
  <p><a href="http://pastebin.com/thYNQG3A" rel="nofollow noreferrer"><strong>my.ini</strong></a> from below path</p>
  
  <pre><code>C:\ProgramData\MySQL\MySQL Server 5.6\my.ini
  </code></pre>
  
  <p>also link if above link not working. 
  <a href="http://pastebin.com/thYNQG3A" rel="nofollow noreferrer">http://pastebin.com/thYNQG3A</a></p>
  
  <p>+-=-=-=-=--=-=-=-=</p>
  
  <p><strong>Update:</strong>
  <img src="https://i.stack.imgur.com/9NQSW.png" alt="enter image description here"></p>