PDA

View Full Version : Delphi 2005 update 1 & memory leak tip



Traveler
13-01-2005, 09:14 AM
D2005 users probably are already familiar with the update for D2005. But for those that aren't, it can be downloaded from here: http://www.borland.com/products/downloads/registered/download_delphi.html

What may not be known is the following. Apparently the update still has not fixed some of the memory leaks.
I came across this page: http://groups-beta.google.com/group/borland.public.delphi.non-t.... (http://groups-beta.google.com/group/borland.public.delphi.non-technical/browse_thread/thread/ce7f6c307a5f25d8/450b3e1468a603d8#450b3e1468a603d8) which explains what you can do to solve that problem. After following a few easy steps, memory usage will drop considerably, depending on the project, as much as 100 mb!

I hope it may be of some use to you.

Sly
13-01-2005, 09:27 AM
That advice is great. I've yet to apply update 1, but knowing about this other leak explains some of the huge slowdowns I have been having recently while editing a large source file. Only 1750 lines, but it is by far the largest source file in the project and D2005 has been having a cow.

Sly
13-01-2005, 10:29 AM
Ok, applied update 1. Man, how long does it take to install from a 24MB file? I washed the dishes in the time it took to install the update.

I just applied the instructions at this page
http://delphi.about.com/od/delphifornet/a/delphi2005win32.htm

D2005 flies now. No .NET packages loaded. Just the core Win32 stuff.