Memory Import Threshold with more than 4 Gig RAM

Ruby 64 bit, released first quarter 2016, is up to 45% faster on big jobs, and uses RAM beyond the 2 gigabyte limit.

Machines with more than four gig RAM are becoming more common. Since Ruby is a 32 bit application, regardless of how much RAM you have installed, Ruby can access only 2 gig. This is a Windows limit. We are in the process of converting the core Ruby code to 64 bit (no limit), but no ETA yet.

On a 4 gig machine running Windows 7 the default memory threshold for imports is 70%.

If you have an 8 gig machine, then the maximum threshold should be 50%, and if a 16 gig machine, then 25%. If you don’t reduce the memory threshold, the Ruby may try to use more than its allocated 2 gig, and you will get the dreaded EEFFACE error (see next post).

Leave a comment

Your email address will not be published. Required fields are marked *