Fair enough. The amount of actual heap used will vary depending on the type of queries. For instance, XML queries eat up the heap. http://www.mlai.org/weblog/2010/04/28/insufficient-heap-memory-for-for-xml-queries-from-sybase/
Can you give us an example of a problem query that runs out of heap?