Memory spend on executables isn't a bottleneck even on mobile. You are getting into embedded territory for this to become an issue.
In the end something that ought to have taken 10mb of space and 20mb of ram requires 100mb of space and half a gig of ram and still manages to be slow on a new system at operations that ought to have been fast on a ten year old machine.
Down with the Javascript generation.
I hate to use any of these chrome-"native"-packaged-webapp, though. I just hate java based GUI apps more.