Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- } catch (Throwable e) {
- if (e instanceof OutOfMemoryError
- || (e instanceof HiveException && e.getMessage().equals("RunOutOfMeomoryUsage"))) {
- // Don't create a new object if we are already out of memory
- return 3;
- } else {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement