#Heap Expander
5 messages in this thread
Has anyone had any experience with "The Heap Expander" distributed by "The
Tool Makers"? I'm curious to hear any comments about this product as I am
considering buying it. It seems like it would be a wonderful product if
it does what their ad claims. -Thanks.
Pete Becker, who wrote the Heap Exapander, now works for Borland. You can
contact him directly in the Borland forum (BPROGB). I haven't looked at it
since an early 2.0 release. It's a great product for what it's designed to
do. And the price is right!
— MF
Mike, I'm not familiar with the "heap expander with the right price." Am
currently working with an app that I've pared to 270K disk image but then
once the sucker loads, Katie bar the doors… I'm using Cscape and db_file
for screen and file management. There are certain places that It would be
nice to allow the user to do something without making them backtrack to
where the system had freed up a bunch of memory. I'm at the point of going
to 1) ovl's or 2) seperate executables with the performance penalty. Seems
like a temporary expansion of the heap envelope would be ok. What's the
name of the Heap Expander, and given my very sketchy spec, do you think it
might help me? pat
I have used the Heap Expander on a moderately large C program which is a
flat file database manager and would recommend the product to you. IN my
application, I use the expanded/extended/virtual memory to hold record
which are pointed to from the regular heap (ie from a linked list). This
has worked well. Several caveats: Each allocation from heap expander also
uses 10 bytes from the regular heap, so allocating lots of small blocks
will use up your regular heap. The second comment is not really a problem
with heap expander, but just to add that you must keep very clear in your
mind whether you're referenceing the object or a pointer to the object.
Before using stored data in heap expander, you must dereference the
pointer. Installing the heap expander in your program is a great way to
thoroughly understand pointers in C !
I have not encountered any bugs in the code. By the way the source is
distributed but I have not done much with it other than browse it. Tom
Hiscox
Tom,
How does it work with DESQVIEW etc??? any problems?? Pat