Dear team, I'm facing with the problem of " out of memeory " continuously.....
Environment:
Ubuntu: 18.04
Scala: 2.10.2
Java: 1.7.0_80
sbt: 0.13.18
I managed to get the step of "running with sbt:"
sbt 'run-main edu.knowitall.openie.OpenIECli'
However, I kept facing with the problem of
"java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space"
when I step into create the stand-alone jar, when using:
sbt clean compile assembly
while trying
"sbt -J-Xmx2700M clean compile assembly" (or larger, say 10g, I have 64g on my computer)
The problem continues plus:
[error] Not a valid command: J-Xmx10g
[error] Not a valid project ID: J-Xmx10g
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: J-Xmx10g
[error] J-Xmx10g
[error]
Any possible solution please?
Regards,
hz
Dear team, I'm facing with the problem of " out of memeory " continuously.....
Environment:
Ubuntu: 18.04
Scala: 2.10.2
Java: 1.7.0_80
sbt: 0.13.18
I managed to get the step of "running with sbt:"
However, I kept facing with the problem of
"java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space"
when I step into create the stand-alone jar, when using:
while trying
"sbt -J-Xmx2700M clean compile assembly" (or larger, say 10g, I have 64g on my computer)
The problem continues plus:
Any possible solution please?
Regards,
hz