[crossfire] Valgrind results
Mark Wedel
mwedel at sonic.net
Mon Mar 28 00:51:51 CST 2005
Andreas Kirschbaum wrote:
>
Alex Schultz wrote:
>
>>>
Therefore the X server's memory usage does not shrink after the
>>>
crossfire client exits.
>>
>>
Ah. That makes sense. Is there any sort of way to get X to get the
>>
memory from freed X resources back? (other than restarting X)
>
>
>
No, I think you have to restart the X server.
That said, assuming the allocated memory is contiguous, this unused memory
should be swapped out to disk. also, any future memory allocation will come
from this pool of freed memory.
Eg, crossfire allocated 20 MB in X resources, and you quit crossfire, but the
20 MB is still held by the X-server. However, when you run other apps that need
x-resources, that 20 MB of memory will be used before it starts allocating any
additional memory.
More information about the crossfire
mailing list