Most useful info:
If you run the 64 bit JRE and have memory problems, use the flags
- Xcompressedrefs
- XX:+UseCompressedOops
for a decent 35-45% reduction in memory use.
The rest is well-known stuff (use primitives, use arrays with fixed size, ...)
Still, the numbers are quite interesting (and the overhead quite scary)