I have a huge problem with memory in Ruby 2.2.1. Namely, after forking a process, it seems that the copy-on-write functionality is not working at all and I end up with double the memory I started with. The problem is described in details under this link : https://bugs.ruby-lang.org/issues/10559#change-50245. Attached on the website is a program that demonstrates the issue.
Since I need to work with huge pieces of data, this memory leakage is a killer issue :-/
Everything has been tested with latest version of Ruby on a clean installed Ubuntu 14.04 LTS machine.