knowitall / openie

Quality information extraction at web scale.
Other
457 stars 108 forks source link

Can't compile #25

Closed askmyhat closed 5 years ago

askmyhat commented 8 years ago

Nothing happens after tests.

...
[info] - should instantiate and extract correctly
[info] Run completed in 2 minutes, 53 seconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.

The compilation was runned with sbt clean compile assembly

KevinBassaDevelopment commented 8 years ago

I have exactly the same problem. Steps I have done: 1) Got project from https://github.com/knowitall/openie.git 2) Downloaded all dependencies with 'sbt compile' 3) Tried to create a standalone jar with 'sbt clean compile assembly' --> Runs until: [info] - should instantiate and extract correctly [info] Run completed in 2 minutes, 53 seconds. [info] Total number of tests run: 1 [info] Suites: completed 1, aborted 0 [info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0 [info] All tests passed. ... And then gets stuck here forever.

No jar gets created.

harrysethi commented 8 years ago

Could you please confirm the configuration - especially the operating system. Is it windows? If yes, Could you please once try running it on Linux

askmyhat commented 8 years ago

I am using Ubuntu. There is possible solution: http://stackoverflow.com/questions/35138628/openie-4-2-cant-generate-standalone-jar-using-sbt

KevinBassaDevelopment commented 8 years ago

I fixed the issue by simply using intellij idea instead and importing the project as sbt project - here compiling & building the jar works without a problem!

bhadramani commented 5 years ago

Use adequate java options -J-Xmx2700M or -J-Xmx10000M (depends on openie version) -Xmx4g -XX:+UseConcMarkSweepGC or -Xmx6g / -Xmx8g / -Xmx10g (depends on openie version)

It is advisable to use latest versions , as you may not be able to find some of the dependencies.