154 | | If the memory leak is one of the Cython parts or in a C library, use regular tools, like [http://blog.devork.be/2008/12/finding-memory-leaks-in-python.html valgrind]. When using valgrind, the connection timeout may be exceeded because the client will be slowed down. Increasing this timeout will be necessary to be able to use the client with Valgrind. |
| 154 | If the memory leak is one of the Cython parts or in a C library, use regular tools, like [http://blog.devork.be/2008/12/finding-memory-leaks-in-python.html valgrind]. When using valgrind, the connection timeout may be exceeded because the client will be slowed down. Increasing this timeout will be necessary to be able to use the client with Valgrind. With r4857 onwards, you can do this using env vars, either: |
| 155 | {{{ |
| 156 | XPRA_UNIX_SOCKET_TIMEOUT=30 xpra attach ... |
| 157 | }}} |
| 158 | for Unix domain sockets (defaults to 5 seconds), or: |
| 159 | {{{ |
| 160 | XPRA_INET_SOCKET_TIMEOUT=30 xpra attach ... |
| 161 | }}} |
| 162 | for TCP sockets (defaults to 10 seconds) |