You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a second instance of my application as hot standby in a registration loop, waiting for a valid connection. The standby instance OOMs every 90 minutes to due to a thread leak. The close method in StreamingConnectionImpl.java throws a NPE setting up the for loop for(AckClousre ac : this.pubAckMap.values()) {
since pubAckMap is null, this cause the method to bail leaving the dispatchers open with active threads.
The text was updated successfully, but these errors were encountered:
I will take a look. If you have a chance to put a PR together it might be faster, but I should be able to fix this in the next release. Sounds like we just need to skip that loop if the value is null, or pre-alloc the map.
I have a second instance of my application as hot standby in a registration loop, waiting for a valid connection. The standby instance OOMs every 90 minutes to due to a thread leak. The close method in StreamingConnectionImpl.java throws a NPE setting up the for loop
for(AckClousre ac : this.pubAckMap.values()) {
since pubAckMap is null, this cause the method to bail leaving the dispatchers open with active threads.
The text was updated successfully, but these errors were encountered: