CMU-Perceptual-Computing-Lab/openpose_unity_plugin

bad allocation

tulaomaod opened this issue · 0 comments

Issue Summary

_OP_Error:
Error occurred on a thread. OpenPose closed all its threads and then propagated the error to the main thread. Error description:

bad allocation

Coming from:

  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\core\array.cpp:op::Array::resetAuxiliary():696
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\core\array.cpp:op::Array::reset():300
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\core\cvMatToOpInput.cpp:op::CvMatToOpInput::createArray():140
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/core/wCvMatToOpInput.hpp:op::WCvMatToOpInput<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > >::work():79
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/thread/worker.hpp:op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > >::checkAndWork():93
  • [All threads closed and control returned to main thread]
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\utilities\errorAndLog.cpp:op::checkWorkerErrors():280
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/thread/threadManager.hpp:op::ThreadManager<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::shared_ptr<class op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > >,class op::Queue<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::queue<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::deque<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::allocator<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > > > > >::stop():243
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/thread/threadManager.hpp:op::ThreadManager<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::shared_ptr<class op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > >,class op::Queue<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::queue<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::deque<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::allocator<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > > > > >::exec():202
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\include\openpose/wrapper/wrapper.hpp:op::WrapperT<struct op::Datum,class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > >,class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::shared_ptr<class op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > > >::exec():424
  • D:\Users\gines\Dropbox\Perceptual_Computing_Lab\openpose\openpose\src\openpose\unity\unityBinding.cpp:op::openpose_main():453
  • [Error occurred in a destructor or in the OpenPose Unity Plugin, so no std::exception has been thrown. Returning with exit status 0]

(Filename: D:\unity\Runtime/Export/Debug.bindings.h Line: 45)_

Error

_OP_Error:
Error occurred on a thread. OpenPose closed all its threads and then propagated the error to the main thread. Error description:

bad allocation

  • [Error occurred in a destructor or in the OpenPose Unity Plugin, so no std::exception has been thrown. Returning with exit status 0]

My System Configuration

OpenPose Unity Plugin v1.0.0alpha-1.5.0
Unity 2018.4.18f1
windows 10 RAM 8GB, inter i5-9600KF CPU, GTU 1660Ti

How can I solve this problem? What caused it ? What should I do?