Does MadExcept works with TopMemoryManager v1.5

delphi package - automated exception handling
Post Reply
swierzbicki
Posts: 10
Joined: Wed Feb 23, 2005 6:38 pm

Does MadExcept works with TopMemoryManager v1.5

Post by swierzbicki »

Hello Madshi,

I'm looking for a free and stable memory manager.
I found this one who looks really promising :
TopMemoryManager is a new memory manager for Delphi that works
for delphi 5,6,7,2005.

It is a LOT faster as the normal memory manager, especially when
multithreading. Documentation and testtool included.

It is free to use and includes all sourcecode.

www.topsoftwaresite.nl
Can I safely use it with madExcept ?
If you never works with this library, can you give me advice about free memory managers (where to donwload them).

Thanx you.

PS : I have already sended a mail to the author of TopMM (asking hime if his library is madexcept friendly :) )
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Basically you can use any memory manager with madExcept. You just need to tell madExcept about it. You have 2 choices:

(1) In the madExcept settings turn the unit init order patching completely off. This is the easiest way to make all memory managers work with madExcept. You'll lose a tiny bit of madExcept protection this way, but it's not much.

(2) Or enter the memory manager units in the correct order into madExcept's unit init order patching edit box. Can be difficult, if the memory manager involves many units.

Personally, I'd say just turn unit init order patching off, then the memory manager should make no problems with madExcept.
swierzbicki
Posts: 10
Joined: Wed Feb 23, 2005 6:38 pm

Post by swierzbicki »

How to I know the correct order ?
Can the author of Topmemorymanager answer this question ?

I can ask him to get in touch with you, or to reply this thread ?
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

If it's just one unit then simply add it to madExcept's unit init order patching edit box. If it's more than one unit, then it gets more complicated. The author of the memory manager can't help here. I'd need to analyze that.

But as I said, you can simply turn unit init order patching completely off, then it should work anyway.
swierzbicki
Posts: 10
Joined: Wed Feb 23, 2005 6:38 pm

Post by swierzbicki »

Ok Mathias,

I will try both solutions and give you a feedback.

Thank you
Post Reply