Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allocator for NT (fragmentation 1:80)

Status
Not open for further replies.

Lim

Programmer
Aug 15, 2000
192
0
0
US
Does somebody know GOOD memory allocator for Nt?
My programm works on UNIX very good with very small memory fragmentation 1:1.5 (I use dlmalloc for UNIX it doesn't work good for Nt)
On NT this is abnormal 1:80. I think standard Mictosoft allocator doesn't understand my pattern.
Currently I can't change the pattern, may be some custom allocator can help?
[sig][/sig]
 
Can you overload the operator new and delete to optimize the alloc. requests?
 
Masi, Thanks.
I think I have found the problem.
My program works as .dll with other application and use call API function from this application. I have found that I have got this memory fragmentation in place with a lot of calls to API functions. On Nt my program share the same address space with this application, on UNIX I use dlmalloc which allocate own heap and work in this heap, so it is not interfered with foreign application.
So I can't check what is going on in that application. I think I have to use own heap for my dll.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top