In a 64-bit system, assuming that the actual memory is 3GB, what happens if the program requests 6GB memory and writes to the requested memory?

RT, in a 64-bit system, assuming that the actual memory is 3GB, what happens if the program requests 6GB memory and writes to the requested memory?


in the case of insufficient RAM, the system moves some of the content out to virtual memory (usually saved on disk).

the size and location of virtual memory vary from operating system to operating system. For example, windows uses a single paging file (file as virtual memory, while linux uses swap disk partitions as virtual memory.

when using more than the capacity of RAM + virtual memory, the program may report an error or exit, depending on the operating system.

Menu