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
Hi, I am operating a springboot webflux server that proxies download stream from another NodeJS server that is behind nginx proxy and developed by another company.
However, I am occasionally seeing a memory leak that is detected a few minutes after PrematureCloseException occurs. After many leaks accumulated for several days, the server won't die or correctly response the data. Therefore, I have to keep my eyes on the server status in case the LEAK accumulates too much.
I tried a lot to find some ways to release the DataBuffer on reactor but couldn't achieve it through doOnDiscard or doFinally. However, none of the methods worked.
Please help me to find if it is a bug or if there are ways to deal with this.
Cannot reproduce on local even with when I tried to force PrematureCloseException with the help of another temporary server. I don't know why... But this is where the download occurs and it is directly returned to the spring RestController method.
Hi, I am operating a springboot webflux server that proxies download stream from another NodeJS server that is behind nginx proxy and developed by another company.
However, I am occasionally seeing a memory leak that is detected a few minutes after
PrematureCloseException
occurs. After many leaks accumulated for several days, the server won't die or correctly response the data. Therefore, I have to keep my eyes on the server status in case the LEAK accumulates too much.I tried a lot to find some ways to release the
DataBuffer
on reactor but couldn't achieve it throughdoOnDiscard
ordoFinally
. However, none of the methods worked.Please help me to find if it is a bug or if there are ways to deal with this.
Maybe it is similar to #3407.
Expected Behavior
No memory leak
Actual Behavior
Memory leak
The below is the logs searched by request hash(
f68fcb11-1
)Steps to Reproduce
Cannot reproduce on local even with when I tried to force
PrematureCloseException
with the help of another temporary server. I don't know why... But this is where the download occurs and it is directly returned to the springRestController
method.Your Environment
The text was updated successfully, but these errors were encountered: