Consider a system with a total physical memory of 8 GB and total virtual…
2024
Consider a system with a total physical memory of 8 GB and total virtual memory of 16 GB. If the system is using 6 GB of physical memory and 10 GB of virtual memory, how much memory is being swapped out?
- A.
2 GB
- B.
4 GB
- C.
6 GB
- D.
More than one of the above
- E.
None of the above
Attempted by 179 students.
Show answer & explanation
Correct answer: B
To find the amount of memory being swapped out, we use the formula:
Swapped memory = Virtual memory used - Physical memory used
Given:
Virtual memory used = 10 GB
Physical memory used = 6 GB
So, Swapped memory = 10 GB - 6 GB = 4 GB.
Therefore, 4 GB of memory is being swapped out.
हिन्दी उत्तर:
स्वैप की गई मेमोरी की मात्रा निकालने के लिए, हम निम्न सूत्र का उपयोग करते हैं:
स्वैप की गई मेमोरी = उपयोग की गई वर्चुअल मेमोरी - उपयोग की गई फिजिकल मेमोरी
दिया गया है:
उपयोग की गई वर्चुअल मेमोरी = 10 GB
उपयोग की गई फिजिकल मेमोरी = 6 GB
इसलिए, स्वैप की गई मेमोरी = 10 GB - 6 GB = 4 GB.
इसलिए, 4 GB मेमोरी स्वैप की जा रही है।