Method Regexp.PCRE2.MatchContext()->set_heap_limit() class Regexp.PCRE2.MatchContext Method set_heap_limit void set_heap_limit(int value) Description Specify, in units of kibibytes (1024 bytes), the maximum amount of heap memory that pcre2_match() may use to hold backtracking information when running an interpretive match.