BUG: Multiple Calls to bcp_colfmt Fail to Free MemoryLast reviewed: April 28, 1997Article ID: Q101422  | 
	
	
The information in this article applies to:
 
 SYMPTOMSAn application that uses DB-Library (DB-Lib) bulk copy (BCP) functions encounters DB-Lib error 10000 after running for a significant amount of time: 
 Unable to allocate sufficient memory. CAUSEDB-Lib incorrectly fails to free memory after multiple calls to bcp_colfmt for the same column during a single BCP operation. 
 WORKAROUNDFor a single BCP operation initiated with bcp_init, call bcp_colfmt only once for each column. 
 STATUSMicrosoft has confirmed this to be a problem in DB-Library version 4.20.00. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. 
  | 
	
	Additional query words: dblib 
 © 1998 Microsoft Corporation. All rights reserved. Terms of Use.  |