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
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
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 <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> This email has been sent from a virus-free computer protected by Avast. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net