-mem options only used if not otherwise specified directly.