I think I've found what was going on with my scala interpreter. The debian scala package depends on
gij, the GNU Interpreter for Java.
THIS IS BAD. I didn't notice it get installed, but suddenly everything that called java on my system was filling up system memory, going into swap, filling up the entire swap, and crashing. I suspect that if I install a version of scala that uses the
real java interpreter, it won't use 1GB of RAM to call 'hello world'.
Come
on debian. Java is GPL now. Let's get out of the ghetto.