Hoard

  • Rating:
  • Version: 3.8
  • Publisher:
    www.hoard.org
  • File Size: 533.87 KB
  • Date: Nov 10, 2009
  • License: Free
  • Category:
    Memory Optimizer
    Windows Utilities
Hoard Download
Free Download Hoard 3.8

Hoard memory allocator is a fast, scalable, and memory-efficient memory allocator. It runs on a variety of platforms, including Linux, Solaris, and Windows. Hoard is a drop-in replacement for malloc() that can dramatically improve application performance, especially for multithreaded programs running on multiprocessors. No change to your source is necessary. Just link it in or set just one environment variable (see Using Hoard for more information).

There are two ways to use Hoard on Windows.
1.Using winhoard
The first and best method is to use winhoard. Winhoard replaces malloc/new calls from your program and any DLLs it might use (leaving HeapAlloc calls intact).
To use the Winhoard version, link your executable with usewinhoard.obj and winhoard.lib, and then use winhoard.dll:
cl /Ox /MD myprogram.cpp usewinhoard.obj winhoard.lib

2.Using libhoard
The other method is to link directly with the libhoard DLL. This approach is simple, but only suitable for small applications, since it will not affect malloc calls in any other DLL you might load. To use this option, you should put the following into your source code as the very first lines:

#if defined(USE_HOARD)#pragma comment(lib, "libhoard.lib") #endif

Hoard is a drop-in replacement for malloc() that can dramatically improve application performance, especially for multithreaded programs running on multiprocessors. No change to your source is necessary. Just link it in or set just one environment variable.

This stanza should be in the first part of a header file included by all of your code. It ensures that Hoard loads before any other library (you will need libhoard.lib in your path). When you execute your program, as long as libhoard.dll is in your path, your program will run with Hoard instead of the system allocator. Note that you must compile your program with the /MD flag, as in:

cl /MD /G6 /Ox /DUSE_HOARD=1 myprogram.cpp Hoard will not work if you use another switch (like /MT) to compile your program.

Hoard is fully supported for the following platforms.
1. Windows NT/2000/XP/Server (32 and 64-bit)
2. Linux x86 (32 and 64-bit)
3. Solaris (Sparc, x86, and x86-64)
4. Mac OS X (Intel)

The use and distribution of Hoard is governed by the GNU General Public License.

SoftSea Editor's Note: this Hoard download is for Windows OS.

The license of this software is Free, you can free download and free use this memory optimizer software.

More Details:
Related Software: