Discussion:
ANN: DelphiSpeedUp 2.76 - Memory leak fix
(too old to reply)
Andreas Hausladen
2008-05-03 14:25:19 UTC
Permalink
Changelog:
- Fixed: Huge memory leak in DLL hooking code

Download from CodeCentral:
http://cc.codegear.com/Item/25436

Homepage and Download
http://andy.jgknet.de/dspeedup

Blog entry:
http://andy.jgknet.de/blog/archives/98-DelphiSpeedUp-2.76-Memory-leak-fix.html


What is DelphiSpeedUp
=================
DelphiSpeedUp is a Delphi/BCB/BDS/TurboProf IDE plugin that decreases
the time the IDE needs to start. It also improves the general speed of
the
whole IDE and all it's loaded packages. This is made possible by many
functions from the FastCode project and some other functions. The plugin
replaces RTL functions by faster versions in memory. That means that
only the IDE gets the speed boost. Your compiled projects are not
affected in any way

How to install
==========
Delphi/BCB 5 users start InstallDelphiSpeedUp5.exe
Delphi/BCB 6 users start InstallDelphiSpeedUp6.exe
Delphi 7 users start InstallDelphiSpeedUp7.exe
Delphi 2005 users start InstallDelphiSpeedUp9.exe
BDS 2006/Turbo Professional 2006 users start InstallDelphiSpeedUp10.exe
CodeGear RAD Studio 2007 users start InstallDelphiSpeedUp105.exe
You can also use one of the batch files that show how to auto-install
the plugin.

How to uninstall
============
The installer is also the uninstaller. Simply press the "Uninstall"
button. After the plugin is uninstalled the IDE will not use any
DelphiSpeedUp code anymore because all RTL changes only happened in
memory.
--
Regards,

Andreas Hausladen
Brion L. Webster
2008-05-05 17:50:40 UTC
Permalink
Post by Andreas Hausladen
- Fixed: Huge memory leak in DLL hooking code
I'm simply astounded that you made a mistake in the first place, Andreas!
You're the uber-coder. ;-)
--
-Brion
There's no such thing as 'one, true way;'
- Mercedes Lackey
Andreas Hausladen
2008-05-05 18:03:55 UTC
Permalink
Post by Brion L. Webster
I'm simply astounded that you made a mistake in the first place,
Andreas! You're the uber-coder. ;-)
I mixed two things. On the one hand I wanted to use a global hash table
for the loaded DLLs and on the other side I decided to use the hash
table only in the import table reader. This lead to the the missing
.Free. With version 2.76 I removed this hash table and replaced it by a
simpler one last item cache which is much faster than the "leaked
memory code".
--
Regards,

Andreas Hausladen
Loading...