Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 14283, Memory Manager Replacement

by Robert Lee Email: rhlee@optimalcode.com


Memory manager replacement - updated 7/23/01 to version 1.2
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 2.0  to 6.0 3372 downloads
Copyright: No significant restrictions


Size: 7,692 bytes
Updated on Tue, 11 Mar 2003 15:54:26 GMT
Originally uploaded on Fri, 28 Apr 2000 11:11:04 GMT
SHA1 Hash: 40F27D637EAA82E15F5A2E73D1C0BA5BD9971EFD
MD5 Hash: 8D8E4997BF943086FF0075369C43F42C

    Explore the files in this upload

Description
Contains both a stand-alone and a replacement memory manager. The significant enhancements are:

1) Returns highly aligned memory blocks.

2) Non-thread blocking (replacment version)

3) Fast

The stand-alone manager is HPMM and the replacement manager is MultiMM and is based on HPMM.

Using HPMM requires creating an instance of TMemManager and then calling GetMem, FreeMem and ReAllocMem as needed.

Using MultiMM is simply a matter of placing it as the first entry in the uses clause of the program (.dpr) file. All subsequent memory requests will be routed through MultiMM. Note: MultiMM patches the system unit to catch thread terminations and clean up appropriately.

For more information on the memory manager see http://www.optimalcode.com/memmgr.htm/

Version 1.1 fixes a memory leak from threadmanagers being reused. And by default blocks are no longer split on reallocMem requests.

Version 1.2 fixes a potential memory leak from externally created threads (typically API callbacks)

Please send comments to: rhlee@optimalcode.edu


For more information, see http://www.optimalcode.com/memmgr.htm

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03