[erlang-questions] beam.smp high memory usage
Mon Nov 13 09:23:39 CET 2017
Thanks again for the feedback.
But from where should I start (Erlang newbie here)?
I’ve no idea ... is there a guideline to follow?
I feel guessing without making any real progress for the last two days :-/
First quick stab:
> Most of the allocated space is binary() data.
> Typical scenario: something is keeping the binary() data alive, one way or
> the other. Either because you need a binary:copy/1 in key locations due to
> sub-binaries, or because your system can't get rid of the data since you
> still have a pointer kept to it from some process.
> On Sun, Nov 12, 2017 at 12:51 PM Frank Muller <frank.muller.erl@REDACTED>
>> Hi guys,
>> I’ve a fairly complex I/O bound Erlang application.
>> Since yesterday, the beam.smp memory usage dramatically increased from
>> ~160MB to something between [2.5GB, 3.1GB].
>> I’ve no idea how, nor why :-/
>> Attached is snapshot taken with recon_alloc:snapshot().
>> Please let me know if you want anything else.
>> Hope someone can explain me what’s going on.
>> Thank you.
>> . Physical machine (not a VM)
>> . Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:8:8] [ds:8:8:10]
>> [async-threads:10] [hipe] [kernel-poll:false]
>> . CentOS-7-x86_64
>> . Linux ns342284 4.9.58-xxxx-std-ipv6-64 #1 SMP Mon Oct 23 11:35:59 CEST
>> 2017 x86_64 x86_64 x86_64 GNU/Linux
>> . 8x Intel(R) Xeon(R) CPU E5504 @ 2.00GHz
>> . 16GB of RAM
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions