Not enough memory resources error with hresult 0x80070008 in x86 opencv

0

After adding opencv4.1.0 to my project, I started to get an error like this :

 Could not load file or assembly 'xxx.dll' or one of its dependencies. Not enough memory resources are available to process this command. (HResult : 0x80070008) 

I think the problem is occcuring while all opencv dll files allocate from memory. But the memory usage was only %20. Before linking the opencv memory usage was ~800mb, after linking its increase to 1000mb.

I have already tried to increase "IRPSTackSize", cleaning temp folder but they are not works.

The annoying point is, its sometimes working but generally not working and facing that error. Is there anyway to solve that ?

c++
visual-studio
opencv
dll
32bit-64bit
asked on Stack Overflow Jul 30, 2019 by okandnmz

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0