Use node --max_old_space_size=999 topojson.js ...
to increase the memory available to node.js.
If you're using node.js binaries, you'll want the 64-bit binaries. The 32-bit ones are restricted to 1GB. https://code.google.com/p/v8/issues/detail?id=847