SAP Knowledge Base Article - Preview

2358920 - JAVA BLOB insertion: heap memory allocation fails although heap is available - SAP ASE 16.0


  • Inserting a BLOB into a text column using a JAVA program.
  • Always getting an exception:

Exception in execute!
com.sybase.jdbc4.jdbc.SybBatchUpdateException: JZ0BE: BatchUpdateException: Error occurred while executing batch statement: There is insufficient heap memory to allocate 458 bytes. Please increase configuration parameter 'heap memory per user' or try again when there is less activity on the system.



  • SAP Adaptive Server Enterprise (ASE) 16.0 SP02 PL04
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SP02 PL04 


SAP Adaptive Server Enterprise 16.0


CR801327, CR#801327, 801327, heap, memory, user, image, BufferedInputStream, batch , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-SDK , SDK , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.