0

I'm trying to run Insightface package on raspberry pi 4 after struggling to install all required packages namely cv2 and mxnet but when I exit python or run my program I get “corrupted size vs. prev_size” which comes from the package mxnet. from here, I understand that I have low memory which doesn't let my program run correctly, I tried the solution from here to move my home dir to a USB drive but it always gets stuck on the line:

sudo rsync -aXS --exclude='/*/.gvfs' /home/. /media/home/.

can anyone help me with my problem?

  • 3
    Moving the home directory will not free up memory only space on the SD card (disk space). – Andyroo Jun 1 at 13:04
  • What's the ram size of your Raspberry Pi 4B? 1, 2 or 4 GB? – Ingo Jun 1 at 16:45
  • @Ingo its a 4 GB raspi – Moe Jun 2 at 9:42
  • @Andyroo I'm trying to free up space to change swap siza – Moe Jun 2 at 9:43
  • Why not move the swap onto the USB drive? – Andyroo Jun 2 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.