csharpsteen
02/02/2023, 9:29 PMsetCodePointLimit and setNestingDepthLimit methods --- but those are not exposed at the JRuby level yet:
https://github.com/jruby/jruby/issues/7543
So, the limits are fixed to the SnakeYAML defaults of 3 MB for size and 50 for nesting depth.