You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When we try to read text file line over the VM limit (current Hotspot
VM limit is 2^31-m where m is a small number ), the VM throws
java.lang.OutOfMemoryError: Requested array size exceeds VM limit.
This commit is to avoid this error by throwing IOException instead so
that the caller can handle.
When we try to read text file line over the VM limit (current Hotspot
VM limit is 2^31-5), the VM throws java.lang.OutOfMemoryError:
Requested array size exceeds VM limit. This commit is to avoid this
error by throwing IOException instead so that the caller can handle.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1088
trunk passed
+1
compile
1068
trunk passed
+1
checkstyle
40
trunk passed
+1
mvnsite
70
trunk passed
+1
shadedclient
720
branch has no errors when building and testing our client artifacts.
+1
javadoc
57
trunk passed
0
spotbugs
113
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
110
trunk passed
_ Patch Compile Tests _
+1
mvninstall
47
the patch passed
+1
compile
987
the patch passed
+1
javac
987
the patch passed
-0
checkstyle
38
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
72
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
615
patch has no errors when building and testing our client artifacts.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1192
trunk passed
+1
compile
1088
trunk passed
+1
checkstyle
46
trunk passed
+1
mvnsite
84
trunk passed
+1
shadedclient
890
branch has no errors when building and testing our client artifacts.
+1
javadoc
65
trunk passed
0
spotbugs
124
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
122
trunk passed
_ Patch Compile Tests _
+1
mvninstall
50
the patch passed
+1
compile
997
the patch passed
+1
javac
997
the patch passed
-0
checkstyle
48
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
80
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
739
patch has no errors when building and testing our client artifacts.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1262
trunk passed
+1
compile
1145
trunk passed
+1
checkstyle
44
trunk passed
+1
mvnsite
82
trunk passed
+1
shadedclient
863
branch has no errors when building and testing our client artifacts.
+1
javadoc
63
trunk passed
0
spotbugs
131
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
129
trunk passed
_ Patch Compile Tests _
+1
mvninstall
51
the patch passed
+1
compile
1062
the patch passed
+1
javac
1062
the patch passed
-0
checkstyle
43
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
79
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
749
patch has no errors when building and testing our client artifacts.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1061
trunk passed
+1
compile
1076
trunk passed
+1
checkstyle
37
trunk passed
+1
mvnsite
73
trunk passed
+1
shadedclient
747
branch has no errors when building and testing our client artifacts.
+1
javadoc
56
trunk passed
0
spotbugs
112
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
111
trunk passed
_ Patch Compile Tests _
+1
mvninstall
44
the patch passed
+1
compile
1010
the patch passed
+1
javac
1010
the patch passed
-0
checkstyle
38
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
67
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
613
patch has no errors when building and testing our client artifacts.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1136
trunk passed
+1
compile
1028
trunk passed
+1
checkstyle
41
trunk passed
+1
mvnsite
70
trunk passed
+1
shadedclient
754
branch has no errors when building and testing our client artifacts.
+1
javadoc
58
trunk passed
0
spotbugs
120
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
118
trunk passed
_ Patch Compile Tests _
+1
mvninstall
44
the patch passed
+1
compile
981
the patch passed
+1
javac
981
the patch passed
-0
checkstyle
34
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
62
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
624
patch has no errors when building and testing our client artifacts.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1036
trunk passed
+1
compile
1076
trunk passed
+1
checkstyle
38
trunk passed
+1
mvnsite
70
trunk passed
+1
shadedclient
762
branch has no errors when building and testing our client artifacts.
+1
javadoc
60
trunk passed
0
spotbugs
111
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
109
trunk passed
_ Patch Compile Tests _
+1
mvninstall
45
the patch passed
+1
compile
1033
the patch passed
+1
javac
1033
the patch passed
-0
checkstyle
36
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
64
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
634
patch has no errors when building and testing our client artifacts.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1079
trunk passed
+1
compile
1079
trunk passed
+1
checkstyle
37
trunk passed
+1
mvnsite
71
trunk passed
+1
shadedclient
797
branch has no errors when building and testing our client artifacts.
+1
javadoc
56
trunk passed
0
spotbugs
116
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
113
trunk passed
_ Patch Compile Tests _
+1
mvninstall
43
the patch passed
+1
compile
1019
the patch passed
+1
javac
1019
the patch passed
-0
checkstyle
38
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
69
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
646
patch has no errors when building and testing our client artifacts.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1111
trunk passed
+1
compile
1074
trunk passed
+1
checkstyle
48
trunk passed
+1
mvnsite
86
trunk passed
+1
shadedclient
818
branch has no errors when building and testing our client artifacts.
+1
javadoc
70
trunk passed
0
spotbugs
123
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
120
trunk passed
_ Patch Compile Tests _
+1
mvninstall
50
the patch passed
+1
compile
1034
the patch passed
+1
javac
1034
the patch passed
-0
checkstyle
46
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
82
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
672
patch has no errors when building and testing our client artifacts.
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1
mvninstall
1032
trunk passed
+1
compile
1015
trunk passed
+1
checkstyle
49
trunk passed
+1
mvnsite
87
trunk passed
+1
shadedclient
903
branch has no errors when building and testing our client artifacts.
+1
javadoc
71
trunk passed
0
spotbugs
130
Used deprecated FindBugs config; considering switching to SpotBugs.
+1
findbugs
128
trunk passed
_ Patch Compile Tests _
+1
mvninstall
50
the patch passed
+1
compile
1020
the patch passed
+1
javac
1020
the patch passed
-0
checkstyle
47
hadoop-common-project/hadoop-common: The patch generated 8 new + 8 unchanged - 0 fixed = 16 total (was 8)
+1
mvnsite
78
the patch passed
+1
whitespace
0
The patch has no whitespace issues.
+1
shadedclient
703
patch has no errors when building and testing our client artifacts.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When we try to read text file line over the VM limit (current Hotspot
VM limit is 2^31-m where m is a small number ), the VM throws
java.lang.OutOfMemoryError: Requested array size exceeds VM limit.
This commit is to avoid this error by throwing IOException instead so
that the caller can handle.
Reference: https://plumbr.io/outofmemoryerror/requested-array-size-exceeds-vm-limit