Fixes telesci runtime on memory setting

Fix #5778