Skip to content

Commit 8f2cb64

Browse files
committed
Address Out of Memory exeption
1 parent 1255042 commit 8f2cb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

method-analyzer-core/src/main/java/com/blackduck/method/analyzer/core/MethodUseAnalyzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public Path analyze(Path sourceDirectory, Path outputDirectory, String outputFil
138138
} else {
139139
throw e;
140140
}
141-
} catch (IndexOutOfBoundsException | ClassFormatError | NegativeArraySizeException | OutOfMemoryError e) {
141+
} catch (IndexOutOfBoundsException | ClassFormatError | NegativeArraySizeException e) {
142142
//IDETECT-4924 Handle malformed classes properly
143143
brokenFiles.put(classFile, "Malformed class structure: " + Strings.nullToEmpty(e.getMessage()));
144144
}

0 commit comments

Comments
 (0)