Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak on to_s #3

Open
edclements opened this issue Jan 24, 2022 · 0 comments · May be fixed by #4
Open

Memory leak on to_s #3

edclements opened this issue Jan 24, 2022 · 0 comments · May be fixed by #4

Comments

@edclements
Copy link

edclements commented Jan 24, 2022

I've observed a leak in memory while using this gem. Valgrind shows that it's happening on to_s.

92 bytes in 6 blocks are definitely lost in loss record 12,037 of 19,580
  malloc (at /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
 *rb_bitset_to_s (bitset.c:308)
  vm_call_cfunc_with_frame (vm_insnhelper.c:2514)
  vm_call_cfunc (vm_insnhelper.c:2539)
  vm_call_method (vm_insnhelper.c:3053)
  vm_sendish (vm_insnhelper.c:4023)
  vm_exec_core (insns.def:801)
edclements added a commit to BookingBug/bitset that referenced this issue Jan 24, 2022
@edclements edclements linked a pull request Jan 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant