File: README

package info (click to toggle)
libtinymail 0.0.9-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,148 kB
  • ctags: 19,175
  • sloc: ansic: 151,565; xml: 20,145; sh: 9,245; makefile: 2,394; cs: 243; cpp: 141; python: 93; perl: 71
file content (11 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
Checkout this information: http://tinymail.org/trac/tinymail/wiki/HelpMemoryTesting

Important pieces:

export G_SLICE=always-malloc
export G_DEBUG=gc-friendly
cd ../.. && make install && cd tests/memory
valgrind --tool=massif .libs/memory-test

It shouldn't show a leak if you use G_DEBUG=gc-friendly and G_SLICE=always-malloc. If you don't, it will show something that looks very much like a leak. That's the slab allocator and glice stuff keeping instances of allocations around.