Hi

> -----Original Message-----
> From: Axel Busch [mailto:[EMAIL PROTECTED]
> Sent: Montag, 16. Februar 2004 18:40
> To: [EMAIL PROTECTED]
> Subject: sqlcreatetls : Nicht gen�gend Speicher / Not enough memory.
> Could not write to event log 
> 
> 
> hi,
> 
> i have a rather nasty problem on a Windows 2000 Advanced
> Server running SAPD DB "KERNEL 7.4.3 BUILD 027-123-048-452":
> 
> A NT Service runs under an administrative account and 
> periodically connects to the SAP DB which is installed on
> the same machine.
> Sometimes ODBC::connect fails with an Application Popup (!) 
> with the message:
> "sqlcreatetls [F�r diesen Befehl ist nicht gen�gend Spe]"

Unfortunately I have to admit, that there is a memory leak
in the ODBC driver. This can lead to the crash in sqlcreatetls.

I could reproduce the problem as described by Ajit, i.e.
an SQLConnect/SQLDisconnet loop.

A partly work around is to free the handle of the connection.
Actually there are two leaks. The bigger one is avoided by this
work around.
Therefore the loop should consist of:

   SQLAllocHandle (SQL_HANDLE_DBC, henv, &hdbc)
   SQLConnect
   SQLDisconnect
   SQLFreeHandle (SQL_HANDLE_DBC, hdbc)


Of course, a fix will be available in the next build.


Sorry for any incovenience and thanks for your contribution.

Regards Thomas

----------------------------------------------
Dr. Thomas K�tter
SAP DB, SAP Labs Berlin


Do you know SAP^H^H^H MaxDB ?                   www.sapdb.org 


 




--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to