1. A method of controlling centralized memory management of a terminal device running an application in a wireless network, the method comprising steps of: monitoring a memory utilization on the terminal device; setting an operational state of a memory management kernel based on the monitored memory utilization, the memory management kernel implemented by software code stored in a computer readable medium of the terminal device; downloading one or more memory management scripts stored remotely from the terminal device; and controlling executing of the one or more memory management scripts based on the operational state of the memory management kernel, wherein the one or more memory management scripts execute within the context of the application.