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
hope anyone knows a solution of the following exception:
"Juli 17, 2021 6:20:41 PM JGloVe.GloVe build_vocabulary
INFORMATION: Building vocabulary complete.. There are 2496996 terms
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOfRange(Arrays.java:3821)
at java.base/java.lang.StringLatin1.newString(StringLatin1.java:769)
at java.base/java.lang.StringBuilder.toString(StringBuilder.java:449)
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:365)
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)
at JGloVe.BigFile$FileIterator.hasNext(BigFile.java:44)
at JGloVe.GloVe.build_cooccurrence(GloVe.java:63)
at JGloVe.Test_Glove.main(Test_Glove.java:29)"
I set the heap memory with the following parameters: -Xms1G -Xmx10G and I am using a small model.
Any ideas?
The text was updated successfully, but these errors were encountered:
Hi,
hope anyone knows a solution of the following exception:
"Juli 17, 2021 6:20:41 PM JGloVe.GloVe build_vocabulary
INFORMATION: Building vocabulary complete.. There are 2496996 terms
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOfRange(Arrays.java:3821)
at java.base/java.lang.StringLatin1.newString(StringLatin1.java:769)
at java.base/java.lang.StringBuilder.toString(StringBuilder.java:449)
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:365)
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)
at JGloVe.BigFile$FileIterator.hasNext(BigFile.java:44)
at JGloVe.GloVe.build_cooccurrence(GloVe.java:63)
at JGloVe.Test_Glove.main(Test_Glove.java:29)"
I set the heap memory with the following parameters: -Xms1G -Xmx10G and I am using a small model.
Any ideas?
The text was updated successfully, but these errors were encountered: