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'm evaluating Evil-DICOM for our company's usage.
And going through the code I probably found a bit of memory leak in
publicboolPing(Entityae,intmsTimeout=0){msTimeout=(msTimeout==0)?IdleTimeout:msTimeout;varresponseSuccess=false;varar=newAutoResetEvent(false);DIMSEService.CEchoResponseReceived+=(res,asc)=>{responseSuccess=true;ar.Set();};SendMessage(newCEchoRequest(),ae);ar.WaitOne(msTimeout);//Give it 3 secondsreturnresponseSuccess;}
Here the CEchoResponseReceived handler is added, but never removed. I looked at the implementation of DIMSEService and didn't find any logic that would be resetting this handler
The text was updated successfully, but these errors were encountered:
jakubsuchybio - hopefully you decided not to use Evil DICOM for your company. I appreciate that you would even consider it, but this project is my own personal DICOM library not a commercial product. It would not be a good idea to base a commercial product on this library because it is not supported in the way you would need.
As far as the leak goes, thank you for pointing it out. I will try to patch. Better yet, this is an open source project! Feel free to patch and issue a pull request.
Don't worry, when we use some OSS in our company, we have a process not to let third party changes break us, by using a fork managed my us. And when we do some fixes on that fork, we gladly provide them back to OSS. So even when we would use Evil-Dicom, we would take a deep look at it before using it in our sw
Hi,
I'm evaluating Evil-DICOM for our company's usage.
And going through the code I probably found a bit of memory leak in
Here the
CEchoResponseReceived
handler is added, but never removed. I looked at the implementation of DIMSEService and didn't find any logic that would be resetting this handlerThe text was updated successfully, but these errors were encountered: