Comments (6)
Thanks for the response...I have already implemented the second solution...
from porcupine.
Hi Arun,
The stack trace is quite helpful. Thanks. The problem is that the math module is shared between different instances of the objects and when the first one quits it also releases resources acquired by math module. We need to do some reference counting here or give each instance a different instance of math module. I will add this to our TODO list and will push it out for next release. But it will take us a while to get to it considering other priorities.
In the meantime. I can think of a couple of things you can do to not get blocked:
1- Make a copy of .so for each thread (not nice) but works for sure.
2- Have a pool of Porcupine instances that you never delete (like ThreadPool but PorcupinePool!). Then you can assign them to new threads when you spawn them.
Let me know what you think.
Thanks a lot for helping us make Porcupine a better library.
from porcupine.
Hi Arun,
Could you please check and see if the issue is resolved in v1.3?
Thanks
from porcupine.
Thanks... I will check and update...
from porcupine.
any updates?
from porcupine.
closing due to inactivity. feel free to reopen if the issue is not resolved.
from porcupine.
Related Issues (20)
- Picovoice Console Issue: HOT 1
- Porcupine Issue: Its Taking the audio from Device Speaker HOT 1
- Porcupine Issue: PICOVOICE_STATUS_TO_EXCEPTION 00000136 HOT 5
- Picovoice Documentation Issue (/docs/quick-start/porcupine-jetson/) HOT 1
- RK3588 (0xd05) is 100% working HOT 3
- PORCUPINE CASUING ERRORS AND NOT RUNNING TRAINED KEYWORD HOT 1
- Porcupine Documentation Issue: HOT 1
- Porcupine Issue: Japanese model params file is actually for English HOT 1
- Porcupine Issue: Are there any plans to support WebGL on the Unity platform HOT 1
- Porcupine Issue: aauthentication issue HOT 2
- Creating a custom wake word in porcupine HOT 2
- Porcupine Documentation Issue: HOT 3
- Porcupine Issue: ios . HOT 1
- Android x86_64 Support HOT 2
- Picovoice Console Issue: Wake word is not working HOT 1
- Passing in multiple wake word files on iOS only listens for the first wake word passed in HOT 3
- Porcupine Issue: Have an issues after changing .ppn file to a new one. HOT 7
- Picovoice Console Issue: HOT 2
- Porcupine Issue: App crashes as soon as the microphone permission is granted HOT 3
- Porcupine Issue: pvporcupine._porcupine.PorcupineActivationRefusedError: Initialization failed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from porcupine.