I have the same trouble, searched with cats n dogs n google, but no proper solution... :/ Somewhere I read that by partitioning your SD card in 3 would help, like: one 8gb fat32, one 4gb ext4, and one 4gb swap.
(two last are linux partitions, on a example 16gb SD).
Didnt work for me though...