Evan Huus
changed
bug 11002
Comment # 3
on bug 11002
from Evan Huus
> the "real" memory allocated by emem/wmem will not be returned to the OS when
> a capture file is closed so Wireshark does not need to allocate the memorry
> again for emem/wmem use
Wmem does make an effort to return memory to the OS at key points, but emem
does not. As this is 1.12 (emem is gone in master) the growth being seen may be
in emem. It's also quite plausible that restarting a live capture wouldn't
trigger a return to the OS anyways, given we're about to need memory again.
And of course, even once we've called `free` or `g_free` on a block, the OS can
do what it likes, including potentially leaving it assigned to wireshark for
the time being for performance reasons.
You are receiving this mail because:
- You are watching all bug changes.