Mr.Giskard
Posts: 1
Joined: Sat Mar 24, 2018 6:05 pm

Cannot increase swap file size over 2GB

Sat Mar 24, 2018 11:49 pm

Greetings,

I'm trying to compile PCL on a Pi3 and I'm getting an out of memory error at the 64% mark. What I did is edit etc/dphys-swapfile and the swap size and max swap size parameters to 4096MB. I rebooted but when I typed the free command I'm still getting only 2GB of swap space.

Can someone help me understand what is happening?

Thanks

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: Cannot increase swap file size over 2GB

Sun Mar 25, 2018 1:52 am

viewtopic.php?t=150141#p986976
cat /sbin/dphys-swapfile
cat /etc/dphys-swapfile
ls -la /var/swap

Return to “Beginners”