Giter VIP home page Giter VIP logo

Comments (8)

kaefer3000 avatar kaefer3000 commented on May 8, 2024 1

You can crank up the heap space (default: 1GB), eg. to 20GB, by prepending your command line using JAVA_OPTIONS=-Xmx20g.

from hdt-java.

mielvds avatar mielvds commented on May 8, 2024

Make sure your configuration uses the "Big" dictionary (https://github.com/rdfhdt/hdt-java/blob/master/hdt-java-core/src/main/java/org/rdfhdt/hdt/dictionary/impl/FourSectionDictionaryBig.java) , should be enabled by default though. (https://github.com/rdfhdt/hdt-java/blob/master/hdt-java-core/hdt.cfg)

I would recommend using the CPP version though, it's more efficient, faster and more stable.

from hdt-java.

sharpaper avatar sharpaper commented on May 8, 2024

I would recommend using the CPP version though, it's more efficient, faster and more stable.

I got the impression that the CPP version was outdated? You said "You probably need to generate the HDT file with java too; both libraries might no longer be compatible."

Plus, looks like the CPP version doesn't compile?

from hdt-java.

mielvds avatar mielvds commented on May 8, 2024

The CPP version definitely has more development going on at the moment, that's why it probably diverted from the java version. I haven't checked, so the HDT's could still be compatible. It does compile for most people AFAIK.

Back to your issue, I honestly don't know. I wasn't involved in the development. But I can imagine that large datasets are a problem for the current implementation, that's why https://github.com/rdfhdt/hdt-mr came about. I could also be an issue with your Garbage Collection configuration.

from hdt-java.

sharpaper avatar sharpaper commented on May 8, 2024

I haven't checked, so the HDT's could still be compatible

regardless if a .hdt was created with C++ or Java, shouldn't it be the exact same format?

from hdt-java.

mielvds avatar mielvds commented on May 8, 2024

in theory yes, in practice not that easy without dedicated development teams :/

from hdt-java.

sharpaper avatar sharpaper commented on May 8, 2024

Sorry I didn't want to imply that you are not doing enough, I just thought that HDT was more or less a well defined standard and for this reason shouldn't change.

from hdt-java.

mielvds avatar mielvds commented on May 8, 2024

No worries, you didn't imply anything. I just wanted to explain we want the same thing, but are dependent on charity :)

from hdt-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.