Export max gear memory for subsequent scripts