Rebuild app runs out of memory

A rebuild will use over that, which is why we recommend a minimum of 3GB, between RAM and SWAP.