[A83] Re: _InsertMem & memory layout


[Prev][Next][Index][Thread]

[A83] Re: _InsertMem & memory layout




Yes, anytime you resize a variable, the OS may decide to rearrange things.
The VAT is constantly being rearranged to avoid fragmentation.  Things never
get fragmented.  They just get swapped around.

> Hi guys!
>
> If I called _InsertMem to fill a program variable with all available
> memory (as reported by _MemChk), is there any chance of my program
> variable being relocated (to avoid fragmentation, etc)?
>
> For instance... given the above example, should I do another _ChkFindSym
> after the insertion to make sure the data address is still valid?
>
> Thanks in advance.





Follow-Ups: References: