M
M
Mimuss2017-12-26 14:26:03
Operating Systems
Mimuss, 2017-12-26 14:26:03

Why does a program that requires 1 GB of RAM run in two instances on a computer with only 1 GB of RAM?

Sobsna, a question from an interview and most likely from the field of operating systems

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Saboteur, 2017-12-26
@saboteur_kiev

1. Where did you get the idea that the program requires 1 GB of memory? If from the instructions, then perhaps the program at the maximum may require up to 1 GB of memory, and does not require it at startup.
2. Swap.

E
evnuh, 2017-12-26
@evnuh

As I understand it, the question was the following: how is it that a computer allows you to use more memory than it is physically installed in it? If so. then google: virtual memory

D
dmfun, 2017-12-26
@dmfun

Hehe, system requirements are written most often at random :) Look at how much the program really takes in the memory task manager. You can set more columns including how much virtual memory is used.
In short, the main thing is to know what resources and how it really uses. (and you can write anything in the requirements)

M
Moris Haos, 2017-12-27
@morihaos

Hello,
This is not from the field of operating systems, but from the field of common sense :-)
Because "require for work" is one thing, and "use at work" is another.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question