# \#reference\_count

**URL:** https://erlangforums.com/tag/reference-count/559.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Does REFC-biniaries count to process\_info(Pid, memory)?](https://erlangforums.com/t/does-refc-biniaries-count-to-process-info-pid-memory/4785)

<div class="topic-metadata">

**Author:** [@Chef](https://erlangforums.com/u/Chef)\
**Replies:** 2\
**Last updated:** [May 27, 2025, 5:48am UTC](https://erlangforums.com/t/does-refc-biniaries-count-to-process-info-pid-memory/4785 "2025-05-27T05:48:14Z")

</div>

Hi! I am trying to measure memory consumption on a program implemented with either binaries or lists for handling Strings. So i was wondering: When calling process\_info(Pid, memory). Does the memory used for an REFC-b…

---

## [Decrementing a Binary Reference Count](https://erlangforums.com/t/decrementing-a-binary-reference-count/2191)

<div class="topic-metadata">

**Author:** [@joseph](https://erlangforums.com/u/joseph)\
**Replies:** 1\
**Last updated:** [December 19, 2022, 10:21pm UTC](https://erlangforums.com/t/decrementing-a-binary-reference-count/2191 "2022-12-19T22:21:57Z")

</div>

I have read that when a process is done with a binary (it doesn’t bind it to a variable), the reference count is decremented. I’m not sure I understand what that means. I have a gen\_server that receives a message with …
