Terracotta 10.11 | Ehcache API Developer Guide | Clustered Caches | Starting the Terracotta Server
 
Starting the Terracotta Server
Information on how to start the Terracotta Server is contained in the Terracotta Server Administration Guide. See the section Starting and Stopping the Terracotta Server for details.
The snippet below defines two offheap resources named primary-server-resource and secondary-server-resource having sizes 128MB and 96MB respectively:
offheap-resources=primary-server-resource:128MB,secondary-server-resource:96MB
This can be defined either in the config properties file or as command-line parameters to the server startup script..
The rest of the document explains in detail how you can configure cache managers and caches to consume the server's off-heap resources.