You are here: Helix Administrator > Content Management > Content Caching > Setting a Cache Size

Setting a Cache Size

The subscriber must have a cache to store files received from the publisher. By default, Helix Mobile Server comes configured with a cache of 1000 Megabytes. The size of the cache must be at least 11 Megabytes. There is no maximum size restriction.

The cache is automatically pruned based on an least recently used (LRU) mechanism. This means that infrequently requested content is first discarded when the cache reaches its maximum size. If you restart Helix Mobile Server, the LRU index is rebuilt based the contents of the cache at the time of restart.

Although there is no functionality to prune the cache with Helix Administrator, there are still ways of manipulating cache content. As has been discussed earlier, if you remove content flagged for content caching from the publisher, the subscriber will not serve that content to players, even if the content remains in cache. Eventually the content will be pruned by the LRU mechanism.

A more direct approach would be to simply delete files directly from the physical disk that holds the cache. Never do this while Helix Mobile Server is running, however. Helix Mobile Server stores cache contents in memory. Thus, deleting files while Helix Mobile Server is running will create a consistency problem. Shut down Helix Mobile Server and then delete.

To define the size of the subscriber Helix Mobile Server's cache:

1. Click Content Management> Content Caching.

2. In the Maximum Cache Size box, change the default value of 1000 Megabytes to the size required. The cache has a minimum size limit of 11 Megabytes. If a lower number is entered, Helix Mobile Server ignores the value and uses 11 Megabytes of disk space.

Note: The theoretical maximum limit for cache size is about nine quadrillion Megabytes, but cache sizes in excess of ninety-nine million Megabytes cannot be set in Helix Administrator.

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com