My question, how can you find which block of memory (the physical addresses) that process is allowed
TIA
Visual C# General
Hi,
the virtual addresses in the process space are translated to physcial addresses by the Operating System, they are not guaranteed to stay the same over time as pages of memory are paged out and back in. Also just because your process is in theory given a certain amount of memory does not mean you can actually use all that, since when it is mapped to physical addresses it is most likely not contiguous most of the time. If you tried to alocate something that requires contiguous memory, such as an array, say of 400MB, that may fail even though you have more non contiguous memory available to you.
What problem are you trying to solve
Mark.
Hi,
unless the process exposes this information in some other way I doubt you will be able to find this information, a process is a security boundary, normally a processes memory cannot be accessed by another process.
Mark.