Memory error -- transaction rolled back

Item Value
SQLCODE -309
Constant SQLE_MEMORY_ERROR
SQLSTATE 40W08
Sybase error code 3013
ODBC 2 State ERROR
ODBC 3 State ERROR

Probable cause 

The UltraLite runtime has received an unexpected error from the system calls being used to store the UltraLite database. For example, a write to persistent memory failed. This is an internal error and indicates faulty or corrupt persistent storage on the device. A ROLLBACK WORK statement has been automatically executed.