In my example, the bound handlers to the
*ioService* (e.g. accepting a new connection) would be freed in runtime, but
the appropriate memory won't be reclaimed by the OS. So to do this manually,
i found the following solution:
*Release unused heap memory under Linux in C/C++: int malloc_trim(size_t
pad)*
Simplified explained, this method releases unused memory from the heap to the OS, which
is exactly what i've been searching for.