allow variable TOTAL_MEMORY
update docs with message about sample app being temporarily offline
Merge branch 'master' into gh-pages