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
I hope to build kuromoji with neologd on CircleCI.
i try to increase heap size, so set env `MAVEN_OPTS="-Xmx4096m -XX:-UseGCOverheadLimit".
but OutOfMemoryError occurs:
...
[KUROMOJI] 02:40:21: reading tokeninfo
[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:297)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.OutOfMemoryError: Java heap space
...
-Xmx512m found, so i think -Xmx4096m was overrode by this -Xmx512m.
i can't understand fundamental issue that why has set already -Xmx512m, but i should like to know if there is another way to increase heap size.
can you tell me any idea to avoid this issue? thanks.
The text was updated successfully, but these errors were encountered:
I hope to build kuromoji with neologd on CircleCI.
i try to increase heap size, so set env `MAVEN_OPTS="-Xmx4096m -XX:-UseGCOverheadLimit".
but OutOfMemoryError occurs:
debugged using
-X
option, then-Xmx512m
found, so i think-Xmx4096m
was overrode by this-Xmx512m
.i can't understand fundamental issue that why has set already
-Xmx512m
, but i should like to know if there is another way to increase heap size.can you tell me any idea to avoid this issue? thanks.
The text was updated successfully, but these errors were encountered: