Catastrophic Failure after some days

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
martin
Posts: 52
Joined: Mon 07 Nov 2005 09:48

Post by martin » Mon 21 Jun 2010 11:08

We still have the problem and it seems that memory fragmentation (not a leak) is causing the server application to crash.

We have changed the memory manager and recompiled the dll but it did not help, application crashes after 2 days.

Question to you:

Does your code explicitely use:

- HeapAlloc
- LocalAlloc
- GlobalAlloc
- CoTaskMemAlloc
- VirtualAlloc.

I am asking this because explicit calls to this functions bypass the memory manager and could cause fragmentation.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 22 Jun 2010 15:08

No, we don't use these functions. We use the GetMem/FreeMem procedures for working with memory.

martin
Posts: 52
Joined: Mon 07 Nov 2005 09:48

Post by martin » Wed 07 Jul 2010 14:20

Error has completely dissapeared after recompiling the driver with Nexus Memorx Manager.

Post Reply