SAP Knowledge Base Article - Preview

2123159 - Out of memory error when inserting a large file into the database via JDBC


  • Out of memory error (e.g: "java.sql.SQLException: Out of memory" )
  • Client is disconnected from the database
  • Database engine continues running fine



  • SAP SQL Anywhere 17.0.x
  • SAP SQL Anywhere 16.0.x
  • SAP SQL Anywhere 12.0.x
  • SAP SQL Anywhere JDBC driver
  • Windows OS 64 bit
  • Jave Virtual Machine (JVM) 32 bit
  • 4+GB RAM


SAP SQL Anywhere 16.0 ; SAP SQL Anywhere 17.0 ; SAP Sybase SQL Anywhere 12.0


Java heap size, -Xmx, JVM , KBA , BC-SYB-SQA , SQL Anywhere (on premise, on demand) , Problem

About this page

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

Search for additional results

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