mwkirk / javapns

Test import of svn javapns repo from Google Code
3 stars 0 forks source link

GC overhead limit exceeded #159

Open mwkirk opened 11 years ago

mwkirk commented 11 years ago

Original author: stemp...@puzzle.ch (December 10, 2012 12:41:22)

What steps will reproduce the problem? I can't really reproduce it, but when we have to send a lot of push notifications several 1000's) this exception occured.

What version of the product are you using? On what operating system? 2.2

Exception in thread "JavaPNS grouped notification thread in LIST mode" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.io.BufferedReader.<init>(BufferedReader.java:80) at java.io.BufferedReader.<init>(BufferedReader.java:91) at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:389) at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:350) at javapns.notification.transmission.NotificationThread.runList(NotificationThread.java:228) at javapns.notification.transmission.NotificationThread.run(NotificationThread.java:199) at java.lang.Thread.run(Thread.java:619) Exception in thread "JavaPNS grouped notification thread in LIST mode" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:215) at java.lang.StringBuffer.toString(StringBuffer.java:585) at org.json.JSONObject.toString(JSONObject.java:1304) at javapns.notification.Payload.toString(Payload.java:110) at javapns.notification.PushNotificationPayload.verifyPayloadIsNotEmpty(PushNotificationPayload.java:353) at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:367) at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:350) at javapns.notification.transmission.NotificationThread.runList(NotificationThread.java:228) at javapns.notification.transmission.NotificationThread.run(NotificationThread.java:199) at java.lang.Thread.run(Thread.java:619) Exception in thread "JavaPNS grouped notification thread in LIST mode" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.io.BufferedReader.<init>(BufferedReader.java:80) at java.io.BufferedReader.<init>(BufferedReader.java:91) at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:389) at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:350) at javapns.notification.transmission.NotificationThread.runList(NotificationThread.java:228) at javapns.notification.transmission.NotificationThread.run(NotificationThread.java:199) at java.lang.Thread.run(Thread.java:619) Exception in thread "JavaPNS grouped notification thread in LIST mode" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.io.BufferedReader.<init>(BufferedReader.java:80) at java.io.BufferedReader.<init>(BufferedReader.java:91) at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:389) at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:350) at javapns.notification.transmission.NotificationThread.runList(NotificationThread.java:228) at javapns.notification.transmission.NotificationThread.run(NotificationThread.java:199) at java.lang.Thread.run(Thread.java:619)

Original issue: http://code.google.com/p/javapns/issues/detail?id=159

mwkirk commented 11 years ago

From stemp...@puzzle.ch on January 30, 2013 07:12:05 Did somebody already take a look at this issue? Will a new version be released soon?