Skip to content

Out of Memory problem #33

Description

@ZuoHaoyu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions