I am running 64 bit ubuntu 12.04 on HP Envy Spectre ultrabook, with 4GB of RAM. I have been running into problems with python code which uses RAM very inefficiently, see e.g. here, causing my code to crash. I have increased the swap partition to 8 GB, but crashes still happen. How far can I take it with resizing my swap? 16 GB? 32 GB? At which point will ubuntu be unable to handle it?
Thanks!