Unsure what is going on. What I can tell you is that:
- Yes, that memory usage is too high.
- The problem is with TurboVNC, not VirtualGL. If it were a leak in VirtualGL, then the memory usage would rise in the 3D application process, not in the Xvnc process. The memory leaks that I fixed in VirtualGL 2.6.2 truly were minor-- like so minor that they would have gone unnoticed unless you ran VirtualGL through valgrind (which is how I detected them.) The leaks mostly took the form of memory that was not properly freed at shutdown, so for the most part, they didn't grow the memory usage of VirtualGL while the 3D application was running. I fixed them primarily to make it easier to detect more serious leaks, if they are introduced in the future.
Note that, if you are using the official VirtualGL and TurboVNC packages, those packages statically link with a specific version of libjpeg-turbo, so installing libjpeg-turbo-official is unnecessary, and the installed version of that package is not relevant for diagnostic purposes.--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/4b34a770-8cd1-42a0-ac55-a9cf492066ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/3661f75c-8163-3a21-d43b-8cd69c6500d2%40virtualgl.org.
OK, thanks. You might get some traction by building Xvnc using clang's AddressSanitizer and LeakSanitizer. Without a specific procedure to reproduce the problem, there is unfortunately little I can do. What I will do, however, is double check the X.org commit log and see if there are any leak-related patches that I need to back-port into the TurboVNC Server.
libjpeg-turbo-official has never been necessary for our
run-time packages. It is only necessary when building VirtualGL
or TurboVNC.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/CAEqczzz6Ki3JR3H9Kt3so7%2Bn9LGN1-nwZt7M%3D32a4tuXyhP3aw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/8c71eefc-d3a5-d8b4-c9c7-af9fa270e80f%40virtualgl.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/CAEqczzyr3T9w%2B%2BLO7epLSkTdK4zcuX%2B_3nO%3D2%2B%3Dok9OsVZZaTQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/4729b454-3ed1-d297-e6f5-2f6556a410da%40virtualgl.org.
So you reproduced the leak while valgrind was running? If so, then I don't understand why it didn't catch it. The only other idea I have is to try building Xvnc with LeakSanitizer (which is in clang) and see if it can catch the leak in real time.
If I can actually see the leak and find out where it is in the code, it's probably a one-line fix. But without the ability to reproduce it myself, I'm not sure what else to do. If you can provide remote access to a machine that reproduces the problem, as well as reliable reproduction steps, I'm happy to look into it.
I will try building Xvnc with LSan on my end and see if I can
spot any problems using some test programs.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/CAEqczzzUhJs7PLd0pdBY%3Dy6jxgKK8bSsd1si3G5tywV9DiGpng%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/062afffc-78df-dc0d-5921-724f309b11bd%40virtualgl.org.
Yes, SSH will be sufficient. Just create a separate
account/home directory for me and make sure the necessary tools
are installed in order to build Xvnc. I'll send you my SSH
public key off-list.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/CAEqczzwrjcn0pe7xvwmBEd2PUXFfWtYve5ypHnbQFSfpoj%3Dw7A%40mail.gmail.com.
Stand by. I might have just been able to reproduce it using
x11perf.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/CAEqczzwrjcn0pe7xvwmBEd2PUXFfWtYve5ypHnbQFSfpoj%3Dw7A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/74709885-2ceb-0696-5782-9992f59d1e97%40virtualgl.org.