On Sat, 27 Dec 2003, Pascal de R. wrote:
>
> vendredi 26 d�cembre 2003 at 22:45:34, you said :
>
> Davide> Are you able to run valgrind on it?
>
> I didn't know this product!
>
> Davide> http://valgrind.kde.org/
>
> Davide> Basically you have to build XMail with -O0 -g and remove the strip
> Davide> commands from Makefile.lnx. Then :
>
> Davide> # make -f Makefile.lnx
> Davide> # export MAIL_ROOT=...
> Davide> # export MAIL_CMD_LINE=...
> Davide> # valgrind -v ./XMail -Md
>
>
> Thank you for your suggestion but do you think I can do that on the
> production machine with any risk ?
There's no risk but a little perf penalty. You should use a debug version
of XMail (-O0 -g) and you should remove the "strip" lines from
Makefile.lnx. This is what you have to run:
# export MAIL_ROOT=...
# export MAIL_CMD_LINE=...
# valgrind -v --skin=addrcheck --num-callers=8 --leak-check=yes --show-reachable=yes
./XMail -Md
The "addrcheck" skin should give you same results for what we are
searching for, w/out huge performance degradation.
- Davide
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]