Sybase – SQL message: [ASE Error SQL712]
In transaction ST22 You probably can find information similar to below:
Database error text: “SQL message: [ASE Error SQL712][SAP][ASE ODBC Driver][Adaptive Server Enterprise]There is insufficient heap memory to allocate 36432 bytes. Please increase configuration parameter ‘heap memory per user’ or try again when there is less activity on the syst”
![](https://sapbasisworld.com/wp-content/uploads/2020/11/image-10.png)
How to resolve
You have two posibilites – DBACockpit or iSQL.
- DBACockpit
- run DBACOCKPIT t-code
- go to “Database <SID>” tab
- go to menu Configuration
- choose option “Server Configuration”
- open “Physical Resources” folder and then “Physical Memory” folder
- click on “heap memory per user” and then click on “Change” button:
![](https://sapbasisworld.com/wp-content/uploads/2020/11/image-11-1024x372.png)
![](https://sapbasisworld.com/wp-content/uploads/2020/11/image-12.png)
2. iSQL
isql -S<SID> -Usapsa -X sp_configure 'heap memory per user', <new_value> go