use ephemeral memory in examples

Link: https://github.com/GeneAssembly/biosal/issues/381
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>