From: michael@... Date: 2016-09-16T23:03:52+00:00 Subject: [ruby-core:77297] [Ruby trunk Bug#12771] Allow setting max memory consumption Issue #12771 has been reported by Michael Grosser. ---------------------------------------- Bug #12771: Allow setting max memory consumption https://bugs.ruby-lang.org/issues/12771 * Author: Michael Grosser * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- I want to limit a ruby process to 100mb ... if the limit is reached it should run GC Already tried various RUBY_ settings but nothing seems to have that effect ... I don't want to sprinkle GC.start all over my codebase :( -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>