Skip to content

FrameData.Bytes() alloc memory and never free #141

Answered by asticode
JoeyLee0201 asked this question in Q&A
Discussion options

You must be logged in to vote

I've also experienced this behavior and here were my conclusions:

  • as long as the in_use_space is behaving properly, you're good
  • the alloc_space not freeing memory space back to the OS hugely depends on the allocator you're using. I had widely different behaviors between different allocators I tested (e.g. tcmalloc, jemalloc, etc.)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JoeyLee0201
Comment options

@asticode
Comment options

Answer selected by JoeyLee0201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #140 on March 27, 2025 08:11.