Heap size considerations with Db2 on Rails

Rails applications on Db2 require the applheapsz database configuration parameter to be set to values above 1024.

You must set this parameter for each database for which you will be running Db2 on Rails applications. Use the db2 update db cfg command to update the applheapsz parameter:
db2 update db cfg for database_name using APPLHEAPSZ 1024

To activate this parameter, you must restart your Db2 instance.