- Notifications
You must be signed in to change notification settings - Fork748
Memory Access Violation - Python Net 3.0.2 - Multi-threaded Dot Net application#2444
-
Environment
Details
Running multi-threaded process in Dot net using Pythonet. I have a dot net application which used Pythonnet to invoke some python methods. As long as I am running single threaded process of my application it works fine. When I run multi-threaded application then I am getting error in Pythonnet. Fatal error. System.AcccessViolationExcepriom: Attempted to read or write protected memory. This is often an indication that other memory is corrupt:
Running multi-threaded process in Dot net using Pythonet.
Fatal error. System.AcccessViolationExcepriom: Attempted to read or write protected memory. This is often an indication that other memory is corrupt: |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments
-
Hello Team, please guide me with this issue, provide some insights on how to resolve this issue. Can we do multithreading? As of now I am using SINGETON class to create only 1 object of python net. And I am using that object to make all AI Model calls. |
BetaWas this translation helpful?Give feedback.
All reactions
-
同样遇到了这个问题,多线程能力弱鸡 |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #2443 on September 10, 2024 09:48.