Fixes telesci runtime on memory settting

Fix #5778
Merge pull request #5988 from Razharas/TeleSci

Fixes telesci runtime on memory setting