I keep getting crashes on my bitcoind install running an Electrum server.
*snip*
This seems to happen every few days for me right now. Is there a memory leak that is causing eventual depletion?
Absolutely, at least for me (64-bit Linux). The memory leak predates the 0.8 build, just for the record.
I've worked around it by installing monit and creating this config file:
$ cat /etc/monit/conf.d/bitcoind
check process bitcoin matching "bitcoind .*daemon"
start program "/home/bitcoin/bin/bitcoind -datadir=/home/bitcoin/.bitcoin -daemon"
as uid bitcoin and gid nogroup
stop program "/home/bitcoin/bin/bitcoind -datadir=/home/bitcoin/.bitcoin stop"
as uid bitcoin and gid nogroup
if mem > 420 MB for 3 cycles then restart
if 3 restarts within 10 cycles then timeout
Monit starts bitcoind whenever it isn't running, and forces a restart once the process is using more than 420MB of physical memory.