I'm running the latest version of the headless bitcoind server on an Ubuntu micro instance on AWS and every hour or so it spontaneously shuts down. It's hard to get any meaningful data from the debug log because it seems to happen completely randomly. This is a brand new install on a brand new AWS box. I'm also running the testnet, by the way.

If you can think of meaningful data I can provide, please tell me, but I'm at a loss here! Does anybody know what could be going on?

Edit:

After some more research, I think it's because of the limited memory in a micro EC2 instance: