answersLogoWhite

0


Best Answer

The simple answer is it won't execute at all. If a program cannot fit into the system's physical memory (RAM) then it cannot execute, period. The solution is to modularise the program such that the executable is small enough to remain resident while auxiliary functions are placed in more transient libraries that can be freely loaded and unloaded as and when required.

Although virtual memory can make it appear as if your system has far more memory than physically exists in the system, there are still limitations. For example, a 32-bit Windows operating system has a maximum address space of exactly 4 GB (2^32 = 4,294,967,296 bytes), but a single process can only utilise 2 GB at most -- the other 2 GB is reserved for use by the system. Thus the largest executable is limited to no more than 2 GB in size. However, the actual limit is less than 2 GB because the size of the executable on disc is (usually) much lower than its runtime size. This is because every process requires at least one fixed-length call stack (one for each thread of execution in the process) and the process' data segment can generate all zero-initialised static variables, constants and globals at loadtime (they are not stored in the executable, unlike non-zero-initialised statics are), not to mention anonymous variables that are generated on the heap at runtime.

For 64-bit systems, although the theoretical address space is 2^64 = 18,446,744,073,709,551,616 bytes (18 exabytes), that's far more memory than physically exists on the planet! With current technology it is simply not possible to design a system that can accommodate the full complement of memory, thus there has to be a more practical physical limitation. In the case of Windows 10 x64, the physical limit is 2 TB (or 128 GB in the case of Windows 10 Home edition). Even the virtual address space must be limited and this is set at 8 TB for x64 processes (or 7 TB for Intel Itanium-based systems) and 128 TB for Server editions.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar
More answers
User Avatar

Anonymous

Lvl 1
3y ago

excuted

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: When the program size is larger than the RAM size how will the program get executed?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why the return duct of AHU is larger than supply duct?

The air is returning at a lower velocity, so you need a larger size duct.


What is the size of font for resume?

12 is ideal. Should no be smaller than 11 nor larger than 14


What is the standard magazine font size?

There is no default font size, that is up to the browser.The author of an HTML page can use CSS or HTML to specify a font size, but the browser can still override the author's wishes, for example if the user has set the browser to display extra large text.


What does the error no input files in c plus plus mean?

There is no such error in C++. 'No input files' suggests you are trying to run a program that processes input files but you haven't specified which files to process. But without knowing what program you are running, it's difficult to suggest a solution other than to consult the program's documentation regarding the command-line syntax. A well-written program will automatically present the correct command-line syntax when invoked incorrectly, or will at least provide a more-meaningful error message including an error code. When asking about program errors, it is helpful to include the exact command you executed, including any relevant information such as the program name, author and version, as well as the specific platform you executed the program upon. The more information you provide the easier it is to find a solution.


What happens to the lines of text if your font size is biggerthan your leading?

Leading is the space between characters. If you font size is larger than the space between the character, your characters may overlap and make it difficult to read the text.

Related questions

Single program executing on more than one machine?

No. But the copies of the same program can be executed on the same time on more than one computers.


If the diagram is larger than actual size it us an?

If the diagram is larger than the actual size of something it is called an enlargement.


What metric wrench size is the next size larger than 1 and 38 inches?

Next metric wrench size larger than 1-3/8inches = 35mm.


Is size 8 smaller or larger than a size 10?

smaller


Is Alaska larger than Texas same size or smaller?

Alaska is larger


Does soil have a larger particle size than gravel?

No, gravel has the larger particles.


Is 2mm or 3 mm larger in size?

3mm is larger than 2


Is a size 5 football smaller than a size 1?

When the number of balls increases, the size of the ball decreases so size 5 is larger than size 1 and the mass of all the balls isnt the sum of numbers but icnreases gradually


What size is a small in hats?

Large is the size that is larger than medium but smaller than extra large.


How do you change size on club peguin?

Change size? You mean getting REALLY REALLY big or REALLY REALLY small? Well to do that you would have to download a program which risks you being banned forever, but other than that, you can't change size. Also when you change size with the program, nobody else can see it but you. If you mean screen size wise, then just click on smaller or larger screen.


How many times larger than life-size is the Statue of Liberty?

the statue of liberty is 20x larger then life size.


Is a king size bed bigger than a queen size bed?

YES, a king-size bed is larger than a queen-size bed.