Out of memory on rebuild with 4GB swap?

We did see one case where rebooting Linux helped. I know it’s not normally how we like to view Linux, but there is still the possibility of fragmentation, and there is the possibility of memory leaks.