We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What version of protobuf and what language are you using? Version: 3.15.7 Language: Ruby
What operating system (Linux, Windows, ...) and version? Tried this on both Mac and Linux. The issue can be reproduced on both operating systems.
What runtime / compiler are you using (e.g., python version or gcc version)
Ruby 3.0.0.
Specific versions:
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19]
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
What did you do?
Use this gemfile:
# filename: gems.rb source "https://rubygems.org" gem "google-protobuf", "= 3.15.7"
Use this script:
# filename: test.rb require "google/protobuf/well_known_types" loop do Google::Protobuf::Value.new end
google-protobuf
bundle
bundle exec ruby test.rb
htop
What did you see?
I can observe that program memory usage grows really fast. I reaches 1Gb within a minute and continues to grow fast.
What did you expect to see
I expected the program's memory growth to stop at around 50Mb of memory use.
This happens (memory stops growing) with gem versions 3.15.2 and below.
3.15.2
Anything else we should know about your project / environment
grpc
3.15.7
The text was updated successfully, but these errors were encountered:
Closing as this was fixed via #8461
Thank you for a quick fix 🙏
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What version of protobuf and what language are you using?
Version: 3.15.7
Language: Ruby
What operating system (Linux, Windows, ...) and version?
Tried this on both Mac and Linux. The issue can be reproduced on both operating systems.
What runtime / compiler are you using (e.g., python version or gcc version)
Ruby 3.0.0.
Specific versions:
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19]
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
What did you do?
Use this gemfile:
Use this script:
google-protobuf
gem with:bundle
bundle exec ruby test.rb
htop
in another terminal window.What did you see?
I can observe that program memory usage grows really fast. I reaches 1Gb within a minute and continues to grow fast.
What did you expect to see
I expected the program's memory growth to stop at around 50Mb of memory use.
This happens (memory stops growing) with gem versions
3.15.2
and below.Anything else we should know about your project / environment
grpc
repo (link to issue GRPC Ruby Memory Leak grpc/grpc#25877) but then realized that is probably not the right place.3.15.7
. Unfortunately I was not able to confirm that: the problem described here does happen for me with3.15.7
.google-protobuf
gem versions3.15.2
and below.The text was updated successfully, but these errors were encountered: