What is Virtual Memory and why is it so high? (Mac)

1 Answer

Answer :

answer:Virtual memory is an abstraction that decouples memory used by programs from the physical hardware. Basically it makes it possible for a computer without enough RAM to still run all the programs a user might run simultaneously. How it works is the program is given a block of virtual memory that may sound obscenely large and the program may or may not use all of that memory. What happens is if there isn’t enough physical RAM available the operating system will swap out some of the data currently unused that is stored in RAM and copy it to the disk. This is called paging (data is stored in pages in RAM). Page ins aren’t a big deal but page outs are—page outs means you don’t have enough RAM for all the programs you’re currently running so it had to write out some pages to disk in order to make room for another program. When the other program goes to use a page that’s been written to disk it has to go and get that page and then that page is brought back into memory. Sometimes this can lead to “thrashing” where the same pages and written in and out over and over. That would definitely make things slow. You have three real options:     1. Run fewer programs     2. Buy more RAM     3. Get a faster disk so page outs are fast (i.e. get a solid-state drive) I’d recommend all three options (in combination). Just for reference memory is a few orders of magnitude faster than disk drives so more RAM (or minimizing your usage of RAM) can make a huge difference. Summary: huge virtual memory numbers aren’t a problem at all but paging to disk is an issue.

Related questions

Description : Can you help me write the following argument in symbolic form?

Last Answer : answer:This is what I've got so far. Any computer science majors out there who can chime in? Let P = Maria goes out Let Q = Maria helps Axel with his maths homework Let R = Axel fails the maths unit If Maria does not ... Maria goes out, Axel will fail the maths unit. P → R ~P → Q Q ˅ R P ----- R

Description : Does anyone know why software developers, computer and other electronic engineers always use the spelling "foobar" for FUBAR?

Last Answer : answer:They are two different things that happen to be pronounced the same: http://catb.org/jargon/html/F/foobar.html http://en.wikipedia.org/wiki/Metasyntactic_variables

Description : What are the best ubiquitous computing conferences?

Last Answer : You be able to spread your message successfully at those conferences. I’d say have your networking strategies planned out. Pre plan and map out who you might want to approach.

Description : Can I pursue a career with CS minor? Please help!

Last Answer : answer:I work for one of the top 3 software companies in the world, have been recruited by Google a few times (but have not accepted their offers) and my degree was essentially ... Spanish and have worked steadily because of their combination of language skills and (software) product knowledge.

Description : Consider the bitcoin currency, what are your thoughts?

Last Answer : answer:In terms of pros/cons. Pros: -No centralized bank, no fees. -Anonymity. -Your wallet is an encrypted datafile, (proof of work), and also proof of funds. You don't need someone ... seems to just reinforce human greed than give just an alternative solution. But that depends, again, on use.

Description : Is there a good way to determine if a stack is a palindrome?

Last Answer : Since palimdrome stacks are by definition symmetric, you can cut the stack in half, reverse the second half, and compare it to the unaltered first half. This is the fastest possible strategy to do ... your time, since all combinations in the last half have already been checked in the first half.

Description : What is your experience or your opinion of the Scrum agile software development methodology?

Last Answer : Never heard of it, but if I understand correctly it seems pretty obvious. Isn’t it just assigning a leader, creating an adversary and planning ahead?

Description : Is there a mathematical method that takes a matrix and generates a "diamond" of values from rotating it 45 degrees?

Last Answer : Do you have to show this matrix to the user? Because if you don’t then you don’t need to tilt it.

Description : Does solving "P=NP?" require filling every hole ever left in math?

Last Answer : answer:I think the answer is that solving it would then successively fill every hole in math. It seems that the answer is not P=NP. If I knew what it took to solve P=NP then I certainly wouldn’t tell!

Description : What is Information Technology?

Last Answer : answer:Big difference. Big difference. Computer science or computing science (sometimes abbreviated CS) is the study of the theoretical foundations of information and computation, and of ... administration, computer engineering, Web development, technical support, and many other related occupations.

Description : Is there a condition when the scrolling thing supposed to go slow?

Last Answer : It would be beneficial if you could describe this in better detail… – are you referring to the cursor that you move with the mouse? There are settings in the computer’s control panel that can slow it down for you. If you mean something else, please elaborate.

Description : How do I find a minimum subtree?

Last Answer : This is why I don't do phylogenetics! :) But really, aren't all questions like this incredibly slow to answer? That's why it takes so much computer power to run trees. I'm a biologist, not a math person, so ... . I think it's supposed to take a long time - if you want to get the best tree, that is.

Description : Fluther API or other way to perform advanced searches and retreive feeds?

Last Answer : The Fluther API hasn’t been released yet.

Description : "Embedded system" what does it mean?

Last Answer : Embedded System Google is your friend.

Description : The coming age of 'spiritual machines' - When will computers exceed human intelligence?

Last Answer : Did you hear about this recent discovery by a robot? Supposedly, the robot formulated a hypothesis and then devised a set of test to prove the hypothesis completely independent from its creators. That's ... t loaded in this particular case, but it does seem to point towards a very different future.

Description : A truck has to make deliveries in 50 cities. Can a clever computer program find the shortest, most economic round-trip route?

Last Answer : UPS! Their routing system avoids left-turns because they take much longer! Question is of course, will this system receive dynamic updates about current road and traffic conditions, if so, in what intervals and ... a predictive basis, optimal will always be relative to t. Ergo, the answer is No.

Description : What is local correlation?

Last Answer : answer:I found a definition here; http://www.cs.cmu.edu/~spapadim/pdf/loco_icdm06.pdf The mathematical expatiation is here; http://www.ahay.org/RSF/book/jsg/attr/paper_html/node7.html I hope that helps!

Description : Does anyone know of anything I can do to get readdy to take Computer science classes?

Last Answer : answer:Number one in my book (if you do not already know how) is to become proficient at touch typing. Just learn the keyboard first, without having to look at it. The speed will come later. Be sure ... you stand out when getting a job and could make or break it for you. Best wishes and good luck.

Description : Are there any virtual printer drivers for Mac that allow you to print something to a high quality JPEG (150-300dpi) in the same way you can print a PDF?

Last Answer : There’s no way you could open the PDF with, say, InDesign or Illustrator, right? Even if you just downloaded a trial version?

Description : ___________ is a very high speed memory placed in between RAM and CPU. A. Magnetic disk B. Magnetic drum C. Virtual memory D. Cache memory

Last Answer : D. Cache memory

Description : Is there any virtual box or similar software which will allow me to install Mac OS X Snow Leopard on a PC?

Last Answer : I don’t know if this might help: http://gizmodo.com/5156903/how-to-hackintosh-a-dell-mini-9-into-the-ultimate-os-x-netbook

Description : Is it faster to have my old computer use the hard drive, or would a USB drive be faster for virtual memory?

Last Answer : Hard drive is faster than USB.

Description : What is virtual memory on a computer?

Last Answer : answer:Virtual memory is space on the hard drive that your computer uses a a direct extension of the RAM. If a program has been sitting on the RAM for a while and isn't doing anything, then it is copied ... you are running, how much RAM you have, and how many programs you are trying to run at once.

Description : What does "Windows Virtual Memory Minimum Too Low" mean?

Last Answer : Windows uses virtual memory to augment the actual Ram in your machine. What this does is it creates a file on your hard drive where programs can store information just like physical memory. That ... For actual causes of this you should check out this article http://support.microsoft.com/kb/826513

Description : On a computer, what is "virtual memory" and is it the same as "% free space"?

Last Answer : Virtual memory is stored on your hard drive. It works as additional memory space, allowing your computer to run better. You need to make sure that you always have enough free space on your HD. If ... much space is allocated to VM. Make sure you always have that much space free on your hard drive.

Description : What is Virtual Memory ?

Last Answer : The computer has physical memory or RAM attached. RAM has size limitations. When you turn on the computer, the program loads in RAM. When you open a file, it also loads in RAM. If the file ... address is called mapping. Copying a virtual page from disk to main memory is called paging or shopping.

Description : WHAT DO I NEED TO DO WHEN I GET A LOW VIRTUAL MEMORY MESSAGE

Last Answer : It is to do with your RAM, not hard drive. To fix the virtual memory problem, you can increase the size of your virtual memory. Go to System/Advanced system settings/Advanced/Performance/Advanced. You will see Virtual memory. Change your virtual memory there.

Description : Virtual memory is 1) Memory on the hard disk that the CPU uses as an extended RAM 2) RAM 3) Only necessary if you do not have any RAM in your computer 4) A back up device for floppy disks 5) None of these

Last Answer : Answer :2

Description : The two basic types of memory in a computer are ________ a) Primary and major b) Primary and Secondary c) Minor and Major d) Main and virtual

Last Answer : Answer: b Explanation: There are two types of memories in a computer system: The Primary Memory and the Secondary Memory. The primary memory can be directly accessed by the CPU whereas the secondary memory cannot be directly accessed

Description : Technique of using disk space to make programs believe that the system contains more Random Access Memory(RAM) than is actually available is called ______ A. Random Access Memory B. Primary Memory C. Secondary Memory D. Virtual Memory

Last Answer : D. Virtual Memory

Description : Technique to implement virtual memory where memory is divided into units of fixed size memory is _________ A. Paging B. De-fragments C. Segmentation D. None of the above

Last Answer : A. Paging

Description : Virtual memory is _________ A. an extremely large main memory B. an extremely large secondary memory C. a type of used in super computers D. an illusion of extremely large main memory

Last Answer : D. an illusion of extremely large main memory

Description : _____________is a feature of an operating system that allows a computer to compensate for shortages of physical memory by temporarily transferring pages of data from RAM to disk storage. A. Flash memory B. Virtual memory C. Buffer D. None of the Above

Last Answer : B. Virtual memory

Description : _________ is a type of non-volatile memory that erases data in units called blocks. A. Flash memory B. Virtual memory C. Buffer D. None of the Above

Last Answer : A. Flash memory

Description : _________ is the transfer of computer data from a temporary storage area to the computer’s permanent memory. A. Flash B. Virtual C. Buffer Flush D. None of the Above

Last Answer : C. Buffer Flush

Description : _________ is a data area shared by hardware devices or program processes that operate at different speeds or with different sets of priorities. A. Flash memory B. Virtual memory C. Buffer D. None of the Above

Last Answer : C. Buffer

Description : Virtual Memory is: a) An extremely large main memory b) An extremely large secondary memory. c) An illusion of an extremely large memory. d) None of The Above

Last Answer : c) An illusion of an extremely large memory.

Description : The first processor to include Virtual memory in the Intel microprocessor familywas: a.)80286 b.)80386c.)80486d.)Pentium

Last Answer : a.)80286

Description : VAM stands for: a. Valid memory address b. Virtual memory address c. Variable memory address d. None of these

Last Answer : a. Valid memory address

Description : A microprocessor retries instructions from : a. Control memory b. Cache memory c. Main memory d. Virtual memory

Last Answer : c. Main memory

Description : What is Virtual Memory?

Last Answer : A technique that uses main memory as a cache for secondary storage, usually implemented with magnetic disks. Virtual memory used to allow efficient and safe sharing of memory among multiple programs.

Description : State the advantages of virtual memory?

Last Answer : Virtual memory is feature of OS that allows a computer to compensate for shortage of physical memory by temporarily transferring pages of data from Random Access Memory to Disk

Description : A process that execute only in main memory is referred to as ……………… and that allocated in disk is referred to a ……………. A) virtual memory, true memory B) virtual memory, real memory C) real memory, virtual memory D) imaginary memory, real memory

Last Answer : C) real memory, virtual memory

Description : Which of the following information not included in memory table? A) The allocation of main memory to process. B) The allocation of secondary memory to process C) Any information needed to manage virtual memory D) Any information about the existence of file

Last Answer : D) Any information about the existence of file

Description : .................. is a facility that allows programmers to address memory from a logical point of view, without regard to the main memory, physically available. A) Visual memory B) Real memory C) Virtual memory D) Secondary memory

Last Answer : C) Virtual memory

Description : ..................... provides a larger sized of virtual memory but require virtual memory which provides multidimensional memory. A) Paging method B) Segmentation method C) Paging and segmentation method D) None of these

Last Answer : B) Segmentation method

Description : Virtual memory is (A) an extremely large main memory. (B) an extremely large secondary memory. (C) an illusion of extremely large main memory (D) a type of memory used in super computers.

Last Answer : (C) an illusion of extremely large main memory

Description : A thread is usually defined as a light weight process because an Operating System (OS) maintains smaller data structure for a thread than for a process. In relation to this, which of the following ... separate stack for each thread. (D) OS does not maintain virtual memory state for each thread.

Last Answer : (B) OS maintains only CPU registers for each thread.

Description : A virtual memory based memory management algorithm partially swaps out a process. This is an example of (A) short term scheduling (B) long term scheduling (C) medium term scheduling (D) mutual exclusion

Last Answer : (C) medium term scheduling

Description : A part of Windows 2000 operating system that is not portable is (A) Device Management (B) Virtual Memory Management (C) Processor Management (D) User Interface

Last Answer : (B) Virtual Memory Management