Giter Club home page Giter Club logo

Comments (4)

HalfPhoton avatar HalfPhoton commented on July 20, 2024

Hi @sahuno,
Can you please reduce the number of --threads set and try again 4 might be a good first attempt. This argument controls the number of processes spawned as described in the docs and it might be causing memory issues.

Kind regards,
Rich

from pod5-file-format.

sahuno avatar sahuno commented on July 20, 2024

thank you @HalfPhoton . successfully converted fast5 -> pod5 by reducing threads to 4. Que: indulge me, is there a reason why more threads was counterproductive even on machine with multiple cores? I'm confused

from pod5-file-format.

HalfPhoton avatar HalfPhoton commented on July 20, 2024

I'm glad that you're now unblocked.

This argument controls the number of processes (not threads) spawned as described in the docs and it might be causing memory issues.

This is the docs snippet:

The --threads argument controls the number of additional processes spawned by the tools where necessary. The default value for --threads is 4 unless the number of available cpu cores is fewer in which case this lower value is used.
Specifying a --threads value less than 1 will use the number of available cpu cores. The --help text shown for all tools should show the default value on your system.
If you experience errors which mention threading or spawning processes. Please reduce the --threads value.

Asking for 64 python processes which each have their own runtime and load each the api which itself internally spawns 10 threads can quickly cause IO issues.

Kind regards,
Rich

from pod5-file-format.

sahuno avatar sahuno commented on July 20, 2024

that explains!
thank you once again!

from pod5-file-format.

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.