Limiting memory for Sybase SQL Anywhere
Sybase's SQL Anywhere has startup parameters to control the min/max cache settings.

  -c  for the initial cache memory setting
  -ch for the maximum cache memory setting
  -ci for the minimum cache memory setting


If you set these appropriately it should constain the memory usage from the cache.

Here is a SQL Anywhere 12.0 page with those settings:
http://dcx.sybase.com/1200/en/dbusage/limiting-using-perform.html