hparra / ruby-serialport

ruby-serialport is a Ruby library that provides a class for using RS-232 serial ports
http://rubygems.org/gems/serialport
GNU General Public License v2.0
246 stars 58 forks source link

Memory Leak on Windows #64

Open kaiserprogrammer opened 8 years ago

kaiserprogrammer commented 8 years ago

Tried it many times to confirm, patched rmodbus to use rubyserial and the memory leak went away.

So it looks to be a problem with serialport, maybe with ruby's File implementation. I have really no idea how it's leaking in the c code?