Flash and RAM Usage

I want to add a protocol stack to the Connect ME and EM devices. How much code space and ram is available to my application?