add loader memory size variable to loader tests