christhomson's Avatar
christhomson 4
93 Asked
517 Answered
304 Best
0
No one has voted on this question yet :(
2 years, 8 months ago

Why is it that (on Mac OS X at least) 64-bit apps use more virtual memory than 32-bit apps?

I'm still running Leopard (10.5.8), so I don't think it has anything to do with Snow Leopard-specific apps.

http://img.skitch.com/20090908-tdmici8n6jwsig5hmwak33kjit.jpg
Tip for best answer: M$0.37
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

1 Answer

0
voyagerent's Avatar
voyagerent | 2 years, 8 months ago
4
In most operating systems virtual memory is used as a temporary storage area to swap what is held in RAM to and from the hard drive. For instance, if you were to run an application that would consume 512MB of memory in order to run you would need at least that much free space in RAM to run it. What if the machine only had 256MB of RAM? The OS would have to "simulate" RAM on the hard drive in order to get the application to run.

Therefore when you are running a 64-bit versus a 32-bit application you can effectively double the amount of memory needed by the application. This is primarily because of the need to store the same amount of data in a larger container. The simplest example is, if your application needed to store a number in memory a 32-bit application would at least need a 32-bit location to store it. Whereas a 64-bit application would require at least a 64-bit location to store it. Add up all this and you can see an increase in the required memory needed to run your application.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates