Fixes telesci runtime on memory settting

Fix #5778