16MB isn't going to cut it, you're probably swapping your system to death. Keep in mind that Oracle alone requires 256MB. PostgreSQL has a much smaller footprint but expecting to run the RDBMS and webserver in 16MB is somewhat unrealistic.
My guess is that if you let it run overnight or for a day or so it would finish ...