Boost logo

Boost Users :

Subject: [Boost-users] boost 1.55 asio tcp cpp03 chat_server example memory leaks
From: Hung Ruo Han (hungrh_at_[hidden])
Date: 2016-01-14 06:45:36

Hi all

i hope someone could give me a clue where to investigate...

i'm running the chat_server example from boost

on visual studio 2010, windows 10 and i downloaded boost binaries from :

i used a script to simulate 30 tcp clients, each thread behavior basically:

   1. connect to tcp server
   2. start a loop
   3. send a message to tcp server
   4. receive a message from tcp server
   5. sleep
   6. back to step 2

the strange fact is when i use windows task manager to monitor the memory
consumption. The numbers from columns *private working set* and *shared
working set* remains "stable" for almost 18 minutes and after that the
values of *private working set* starts to increase almost 5 MB by minute.

So my doubts are:

   1. Does anyone ever seen anything similar before?
   2. What could cause this?


Hung Ruo Han
email has been sent from a virus-free computer protected by Avast.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at