I am facing issue with OutOfMemory Situation when sending lot of Push Notifications, found that pushedNotification LinkedHashMap in PushNotificationManager is causing this.
private LinkedHashMap<Integer, PushedNotification> pushedNotifications = new LinkedHashMap<Integer, PushedNotification>();
This variable is cleared only when there is a failed notification, there is no method to access this variable and it never gets cleared. The same issue is also mentioned here
http://code.google.com/p/javapns/issues/detail?id=120
Did anyone face this issue? how did you resolve ?
I am facing issue with OutOfMemory Situation when sending lot of Push Notifications, found that pushedNotification LinkedHashMap in PushNotificationManager is causing this. private LinkedHashMap<Integer, PushedNotification> pushedNotifications = new LinkedHashMap<Integer, PushedNotification>();
This variable is cleared only when there is a failed notification, there is no method to access this variable and it never gets cleared. The same issue is also mentioned here http://code.google.com/p/javapns/issues/detail?id=120 Did anyone face this issue? how did you resolve ?