some info from online infocenter
# Change the value to the recommended value of 1024 (4-KB pages) or to a larger value. You can issue the following command, where db_name identifies your database:
UPDATE DATABASE CONFIGURATION FOR db_name USING APP_CTL_HEAP_SZ 1024
# Disconnect all applications from the database.