xpra icon
Bug tracker and wiki

Changes between Version 27 and Version 28 of Debugging


Ignore:
Timestamp:
12/05/13 07:58:17 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debugging

    v27 v28  
    152152
    153153=== In C code ===
    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.
     154If 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{{{
     156XPRA_UNIX_SOCKET_TIMEOUT=30 xpra attach ...
     157}}}
     158 for Unix domain sockets (defaults to 5 seconds), or:
     159{{{
     160XPRA_INET_SOCKET_TIMEOUT=30 xpra attach ...
     161}}}
     162 for TCP sockets (defaults to 10 seconds)
    155163
    156164=== In python code ===