Adaptive Server includes the procedure and data cache:
The procedure cache is used for stored procedures and triggers and for short-term memory needs such as statistics and query plans for parallel queries.
Set the procedure cache size to an absolute value using sp_configure, “procedure cache size”. See Chapter 5, “Setting Configuration Parameters,” in the System Administration Guide: Volume 1.
The data cache is used for data, index, and log pages. The data cache can be divided into separate, named caches, with specific databases, or database objects bound to specific caches.
Once the procedure cache and the data cache are configured, there is no division of leftover memory.