It looks like mri version of unpacker does buffered reads from the stream when given an io, but jruby version is loading all data from stream into memory.
Example code
file=File.new("some_large_file","rb")MessagePack::Unpacker.new(file)# in jruby reads all file here
I hope this finding at least helps someone
The text was updated successfully, but these errors were encountered:
It looks like mri version of unpacker does buffered reads from the stream when given an io, but jruby version is loading all data from stream into memory.
Example code
I hope this finding at least helps someone
The text was updated successfully, but these errors were encountered: