-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leak in parallel-deflate.c #145
Comments
Does this fix it?
|
Yes, deflate_job_destroy is now called while being connected with RealVNC What I still see is an increasing memory consumption when I connect with Real VNC, then disconnect, then connect again and so on, but I haven't measured this. |
I pushed the change to aml. Can you track down the client object leaks using asan or valgrind? |
Thanks! Regarding client objects, It'll take some time, because of holidays. |
I had a second look at it, however without any success. If I watch the neatvnc server with However valgrind (even with The only interesting thing is this:
But this is probably unrelated. IMHO the bug can be closed, as the main reason is fixed within AML. |
Hi all, thanks for this nice VNC Server library!
I am currently investigating something which looks like a memory leak, however my understanding of AML is limited.
From the Malloc-Debugging, I see that the memory is consumed in
parallel-deflate.c: schedule_deflate_job
indeflateInit2
and some others. However the corresponding methoddeflate_job_destroy
is never called.Perhaps this is the same issue as in any1/wayvnc#367
The text was updated successfully, but these errors were encountered: