It looks like the ones you referenced are one time allocations from loading modules.
To do a real test you should make calls that match production calls but only one at a time very slowly and get a few hundred calls while under vg.
Also its very important to have a 100% clean shutdown or you can get false positives.

2gb over 24 days is not outside the realm of normal for FS. You could do a stress test and get up that high in minutes.
For non-video usage, you would want to start pushing into 3gb before getting worried.
I would set 4gb as min ram to run FS but not in all cases, 8gb is much safer.



On Fri, Dec 30, 2016 at 6:15 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
Anthony i want remove messages like "blocks are still reachable in loss record" in valgring log.
To do this i defined GLIBCXX_FORCE_NEW=1 enviroment variable at compilation state and execution state but this not take effect.

Is it related to memory caching in APR library?


пт, 30 дек. 2016 г. в 14:01, Sergey Safarov <s.safarov@gmail.com>:
Hello Anthony
I make tests on current master 594b36022e0e5bb72f9072ac0a11d98e7bbd5a7c.
Results is available at http://node1.pbx.rcsnet.ru/vg.log

FreeSwitch runned by command
valgrind --tool=memcheck --log-file=vg.log --leak-check=full --leak-resolution=high --show-reachable=yes /usr/local/freeswitch/bin/freeswitch -nf -nc -vg

On server installed vanilla config and maked one call.

вт, 15 нояб. 2016 г. в 19:30, Anthony Minessale <anthony.minessale@gmail.com>:
Good news is 2 releases came out during that test run (and another one in a week or less) so now you can start over testing newest version again.



On Tue, Nov 15, 2016 at 3:23 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
Hello Anthony
On old FS version memory usage graph is attached. I think memory usage grows is stoped near 3Gb but last week memory usage is increased about 200Mb
later i will report result on new version and with valgrind results.
pasted1

вт, 13 сент. 2016 г. в 19:12, Anthony Minessale <anthony.minessale@gmail.com>:
That looks normal to me.
FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use.
If you chart goes past 2 to 2.5 gigs, you may have a problem then.

you can run valgrind but you can only run 1 call at a time testing typical callflow.

valgrind --tool=memcheck --log-file=vg.log --leak-check=full --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg


Also when those months are over, hopefully you update cos you can keep running the same FS for many months anyway ;)




On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
I has configured FreeSwitch process memory usage graph.
According this graph durring 24 days size of used memory ingrezed about two times.
FS-memory-chart.png
Pastebin of FreeSwitch process memory map is placed at https://pastebin.freeswitch.org/view/9e66572a 
Are you have any suggestion how to find memory leak.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

ClueCon Weekly Development Call 
☎ sip:888@conference.freeswitch.org  ☎ +19193869900