|
Steve Richter, 06/04/01 01:43 PM, wrote in part: The MI manual says the "creation size advisory is 4KB". Most of the allocations I do are much smaller than that (although the ones with the bug are little less than 4096). Any ideas on why the advisory? The MI text is just trying to indicate that the default heap creation size, which is an advisory value and not guaranteed to be provided exactly, is 4 KB. No CRTHSS is done for the default heap, so there is no opportunity to specify the initial creation size. Heaps are automatically extended, so you are free to use more storage than 4 KB. However, if one's code were using e.g. 2 MB allocations, odds are good that performance would be better if some heap other than the default were used, and created with an initial size much closer to 2 MB. Paul Godtland +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dr2@cssas400.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.