Memory optimization for remote proxies.