Git Product home page Git Product logo

Comments (4)

mchinen avatar mchinen commented on May 6, 2024

Thanks for sharing this issue. I believe ViSQOL should work for multiple threads. There is a lightweight test for this. However, I think it requires multiple instances of the VisqolManager or VisqolAPI classes. Can you clarify if you were reusing the same instance across multiple threads?

from visqol.

MaksymT17 avatar MaksymT17 commented on May 6, 2024

thanks for responding.

Yes, we use multiple instances of VisqolApi. Each thread creates a new Visqol::VIsqolApi instance for each measurement.
The issue is intermittent. In some cases, the application runs for more than 15 mins before crashing

from visqol.

mchinen avatar mchinen commented on May 6, 2024

I see. As far as I'm aware there is no global or singleton in visqol code itself, but possibly one of the libraries/dependencies have this. How many threads are you running? Is it possible that the crash is due to memory exhaustion? The dynamic warping/alignment steps are quite memory intensive.

from visqol.

MaksymT17 avatar MaksymT17 commented on May 6, 2024

I think that issue is related to the audio files being compared. In case data in wav file is incomplete, or header file is written wrongly such an issue may appear. At least reproduced only when some files were written wrongly.

I'm closing this issue, but we have to be aware if we will try to compare some unchecked or wrong audio files - visqol may produce a crash with Segmentation Fault.

Thanks @mchinen for your interaction.

from visqol.

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.