On 14/02/17 13:52, Klemen Zhivko wrote:
Yes... my build crashed because of lack of swap...
No, I haven't try to run SIM .. I took "build from source" granted so I started to build from source...

I created swap now with:
sudo mkdir -p /var/cache/swap/
sudo swapoff /var/cache/swap/swapfile
sudo dd if=/dev/zero of=/var/cache/swap/swapfile bs=3M count=256
sudo chmod 0600 /var/cache/swap/swapfile
sudo mkswap /var/cache/swap/swapfile
sudo swapon /var/cache/swap/swapfile

And restarted build. I hope everything will be OK this time.


You may still find that the build halts because of lack of memory.

I found that only an actual swap partition of at least 512MB worked reliably using make -j2

Just run with make if that happens, take longer to mess around to try and fix.

I have written my 8GB image to image, now going to write it back to SD, reduce to 4GB but keep the
swap partition, then I will use that for the new image.
It was only ever that size to allow me to have multiple RIPs for testing etc




--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to