Page 1 of 1

Question about virtual memory

PostPosted: Fri Dec 03, 2010 7:02 am
by maybnxtseasn
say i load calc.exe into memory and then i load another instance of this application. I understand with Virtual memory, instead of loading the program 2's in memory, it will just reference the same .code section correct? Does each program have it's own .data section in memory so they dont screw with each others variables? also what would happen if i change a portion of the .code in the 2nd instance of calc.exe's address space? will it change the orginal instances .code seciton as well? -thx

Re: Question about virtual memory

PostPosted: Fri Dec 03, 2010 3:25 pm
by L. Spiro
They are not shared and modifying one will not modify the other.


L. Spiro