[Freeswitch-users] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

Peter P GMX Prometheus001 at gmx.net
Wed Apr 8 09:52:30 PDT 2009


It's linux, yes.
The way I got around the problem that memory may not be freed is:

    * to reboot the system.
    * look for used memory
    * start FS
    * look for used memory
    * calculate the difference

That way it showed 24-25M which I can understand.

Best regards
Peter

Szymon Olko schrieb:
> Peter P GMX pisze:
>   
>> I just wanted to know, how much memory overall is consumed by FS inkl.
>> all Libraries (when used on a Netbook with limited memory), so RES does
>> only show a portion of the overall RAM, FS uses incl. libraries.
>>
>> So I did the following:
>> I restarted my laptop and noted the used memory.
>> I deactivated all not needed modules in FS, started FS and noted the
>> used memory.
>> The difference was 24MB. When a call was present (incl. TLS/SRTP), I
>> noted 25M. This is a really low value. Impressive!.
>> Good job done!
>>
>>     
> Do you use linux based system? Linux don't return memory once used to free, it uses it for disk buffers but it will free it when
> needed. So probably much part of that system was for disk buffers and are not used by FS any more.
>
> I always thought that memory allocated in libraries are included in process which is using them. Where it should be in your
> opinion? For external services/servers memory is not included in process but this is not the case in FS. Look at RES to know how
> much memory it uses.
>
>   
>> Best regards
>> Peter
>>
>> Brian West schrieb:
>>     
>>>> 2nd Question: How can I change the amount of memory FS tries to reserve
>>>> to an absolute minumum (I only have 1 call at a time). Currently it
>>>> tries to reserve about 360M if I read that right.
>>>>         
>>> Thats virtual.  Look at RES.
>>>
>>>       
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>     
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>   




More information about the FreeSWITCH-users mailing list