Coder Social home page Coder Social logo

Comments (5)

bozhikovstanislav avatar bozhikovstanislav commented on June 15, 2024 1

from dvh-analytics.

cutright avatar cutright commented on June 15, 2024

Is the memory recovered after the calculation?

Can you be more specific? I'm pretty sure any time the GUI uses the distance calculation algorithm it attempts to calculate all at once except on MemoryError, then it performs it in chunks instead. But maybe I missed one?

For example:
8490db6

from dvh-analytics.

bozhikovstanislav avatar bozhikovstanislav commented on June 15, 2024

from dvh-analytics.

bozhikovstanislav avatar bozhikovstanislav commented on June 15, 2024

I was thinking about how high resolution structure may consume more Ram ????

from dvh-analytics.

cutright avatar cutright commented on June 15, 2024

Can you test that by reducing the small-volume threshold? Then see if it goes away? You can also adjust the number of interpolated slices and in-plane interpolation factor in DVHA settings.

If there is a MemoryError, the calculation is done in chunks as long as you're on dicompyler-core >=0.5.6. I could add an option to always turn on memory mapping and DTH/OVH calculation in chunks... but it would guarantee a slower calculation when it maybe wasn't needed?

You could track it down with python's memory profiler. That's how I managed to remove the memory leaks in Windows.
https://towardsdatascience.com/profile-memory-consumption-of-python-functions-in-a-single-line-of-code-6403101db419

Just curious, what resolution are your dose grids?

from dvh-analytics.

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.