LPS-34419 JRuby causing perm space memory leaking