1. A method for a server system to manage memory in a server, the method comprising the steps of: monitoring, by the server system, resource usage of a processor and a storage device; monitoring, by the server system, memory usage for a local memory by the server; synchronizing cached pages in the local memory with pages in the storage device to increase the amount of available space in the local memory based on the resource usage and a first level of the memory usage; and synchronizing the cached pages in the local memory with the pages in the storage device independently of the resource usage based on a second level of the memory usage higher than the first level of the memory usage.