title: Fatal Exception: java.lang.OutOfMemoryError: pthread_create at com.google.maps.api
body: <p>I am using google maps on my android application. on Some devices <strong>Galaxy S5</strong>, <strong>J5</strong> and <strong>S5 LTE-A</strong> I am getting "<code>Fatal Exception: java.lang.OutOfMemoryError pthread_create (1040KB stack) failed: Try again</code>" error. I got the following log from the Fabric Crashlytics, I was not able to reproduce this issue,</p>
  
  <p>Here is the log I got,</p>
  
  <pre><code>       Fatal Exception: java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again
         at java.lang.Thread.nativeCreate(Thread.java)
         at java.lang.Thread.start(Thread.java:1063)
         at com.google.maps.api.android.lib6.drd.s.t(:com.google.android.gms.DynamiteModulesB@11518438:317)
         at com.google.maps.api.android.lib6.drd.s.a(:com.google.android.gms.DynamiteModulesB@11518438:256)
         at com.google.maps.api.android.lib6.gmm6.util.l.a(:com.google.android.gms.DynamiteModulesB@11518438:109)
         at com.google.maps.api.android.lib6.gmm6.util.n.run(:com.google.android.gms.DynamiteModulesB@11518438:37)
         at java.lang.Thread.run(Thread.java:818)
  </code></pre>