title: java.lang.SecurityException: !@Too many alarms (500) registered from pid 10790 uid 10206
body: <p>I'm getting this error at the time of Schedule alarm using Alarm Manager </p>
  
  <pre><code>am.setExact(AlarmManager.RTC_WAKEUP, timeMillis, pendingIntent);
  </code></pre>
  
  <p>Error is as follow</p>
  
  <pre><code>java.lang.SecurityException: !@Too many alarms (500) registered from pid 10790 uid 10206
  at android.os.Parcel.readException(Parcel.java:1540)
  at android.os.Parcel.readException(Parcel.java:1493)
  at android.app.IAlarmManager$Stub$Proxy.set(IAlarmManager.java:206)
  at android.app.AlarmManager.setImpl(AlarmManager.java:428)
  at android.app.AlarmManager.setExact(AlarmManager.java:376)
  </code></pre>
  
  <p>Why this error is coming and how we can fix it.</p>