Code Monkey home page Code Monkey logo

Comments (2)

D063520 avatar D063520 commented on June 9, 2024

Hi,

sorry I just saw now the issue .... yes this is also the problem we run into when writing hdtCat. As far as I remember: We are using mapped files and this is a feature that is not done by the JVM but by the operating system. For some reasons in Windows this is not working (or at least it was not at that time). I cannot find anymore the related ticked on the JDK issue tracker, so I do not know if it was resolved. But when I saw it it was open already since many years .... Maybe there is an easy bug fix but I do not know one.

Salut Dennis

I think it is something related to this https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6359560

from hdt-java.

fkleedorfer avatar fkleedorfer commented on June 9, 2024

After fixing HDTcat to work under Windows, I was able to evaluate the initial idea (question 1 in my initial post) - to a limited extent. Result: It might be the thing to do in situations where the available memory just isn't enough to generate a HDT file in one go. However, if it is possible to generate the whole HDT file in memory, it is much faster than the map-reduce approach (map to HDT chunks, reduce chunks using HDTcat). The difference in execution time is probably due to the many more filesystem accesses required in the map-reduce approach as each triple is processed multiple times. If the system could be changed to use in-memory data structures instead of memory mapped files for smaller amounts of data (i.e., data that fit in memory), this result might change as well.

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.