PJunhyuk / people-counting-pose

Odin: Pose estimation-based tracking and counting of people in videos
Apache License 2.0
173 stars 46 forks source link

Solving 'Cannot allocate memory' Error #7

Closed PJunhyuk closed 6 years ago

PJunhyuk commented 6 years ago

(Tested environments: Window10 HOME + Oracle VM VirtualBox)

If you just follow steps in README file, 'Cannot allocate memory' error can be occurred.

people-counting-pose_error
PJunhyuk commented 6 years ago

You have to increase memory limit of VM.
First, remove existing docker-machine, and create new machine with more memory.

$ docker-machine rm default
$ docker-machine create -d virtualbox --virtualbox-memory 4096 default

Maybe you have to run Docker Quickstart Terminal, again.

Reference: https://stackoverflow.com/questions/32834082/how-to-increase-docker-machine-memory-mac