Size of TTN Network Stack

How much disk space does it take to run the TTN network stack? I am wondering if it could be run on a Raspberry Pi that is also acting as a gateway. (Packet forwarder, network stack, and application on one device)