Memory Query

Whats In Name

Whats In Name

@whats-in-name-KdgM7o Oct 18, 2024
I am stuck in computer memory again:sshhh:,
I don't know why this topic keeps bothering me!😒


Ok,so coming to the doubt-

When we switch on the computer,the OS gets loaded in RAM,😕(right?)
OS memory is more than 256 mb RAM,so it must be taking use of some virtual memory😕(right?),
now what we are left with is only virtual memory,so do our programs use the virtual memory and not the RAM?

Correct me and please clear the doubt!

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Morningdot Hablu

    Morningdot Hablu

    @morningdot-6Xuj4M Jan 4, 2011

    The processes which are running(currently) that's files are loaded into ram.
    If you do more multitasking the ram was full with processes files and then ram need some extra memory to load the processes files.
    So the extra memory that is taken from HDD to load the processes files when the ram is full known as virtual memory.
    Remember that processes doesn't execute in ram.Processes are executed in processors.And you know 90% to 95% of data are fetched from catch memory.
    When your ram is in overflow condition it will send only that files to the virtual memory that is not in use(currently).
    Same as happen between catch and ram it will send only those data to ram that are not in use(currently).
    .
    hope you got the answer....!
  • sushant005

    sushant005

    @sushant005-tyt4WK Jan 4, 2011

    Well i think there are lots of procedures to be followed during the operating System loading. I mean to say that sequentially all the files and programs get loaded into the RAM and get executed and the if currently executed program get execute in the RAM then it left some space in RAM for next instruction/program to read. So Loading OS is a step by step process.When computer is switched ON first the program which is stored in ROM is loaded then the role of BootLoader comes into play which loads the files/small programs/instructions sequentially into RAM and get executed . I m not sure whether it is using virtual memory during loading OS or not.
    It is just that to load OS , one by one its files are loaded and get executed in RAM.
  • Whats In Name

    Whats In Name

    @whats-in-name-KdgM7o Jan 5, 2011

    mohit007kumar00
    The processes which are running(currently) that's files are loaded into ram.
    If you do more multitasking the ram was full with processes files and then ram need some extra memory to load the processes files.
    So the extra memory that is taken from HDD to load the processes files when the ram is full known as virtual memory.
    Remember that processes doesn't execute in ram.Processes are executed in processors.And you know 90% to 95% of data are fetched from catch memory.
    When your ram is in overflow condition it will send only that files to the virtual memory that is not in use(currently).
    Same as happen between catch and ram it will send only those data to ram that are not in use(currently).
    .
    hope you got the answer....!
    So,only the necessary executable files of OS goes into RAM,other files remain in HDD?
  • Whats In Name

    Whats In Name

    @whats-in-name-KdgM7o Jan 5, 2011

    sushant005
    Well i think there are lots of procedures to be followed during the operating System loading. I mean to say that sequentially all the files and programs get loaded into the RAM and get executed and the if currently executed program get execute in the RAM then it left some space in RAM for next instruction/program to read. So Loading OS is a step by step process.When computer is switched ON first the program which is stored in ROM is loaded then the role of BootLoader comes into play which loads the files/small programs/instructions sequentially into RAM and get executed . I m not sure whether it is using virtual memory during loading OS or not.
    It is just that to load OS , one by one its files are loaded and get executed in RAM.
    I got what you said,does that mean only the executable files of OS goes into RAM,and there is still space for our application programs,right?
  • Morningdot Hablu

    Morningdot Hablu

    @morningdot-6Xuj4M Jan 5, 2011

    Whats In Name
    So,only the necessary executable files of OS goes into RAM,other files remain in HDD?
    yes only the necessary executable files are loaded into the RAM.

    @sus a mistake is there I think execution is done in processor not in RAM.
  • Whats In Name

    Whats In Name

    @whats-in-name-KdgM7o Jan 5, 2011

    mohit007kumar00
    yes only the necessary executable files are loaded into the RAM.
    Ok,I got it.Thanks alot!