Ask questions via twitter! Message any question to @answers on twitter. We'll publish the question and send you a reply each time there's a new answer.
Next Question

Answered Question

 
 M¢37  Funded By Mahalo ? |  September 08, 2009 07:49 PM

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
Interesting Question?  Yes (0)   No (0)   
RSS
 
 

Best Answer  Chosen by Asker

 
September 08, 2009 08:43 PM
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.
Asker's Rating:
• Great answer, thanks!


Tags: os, virtual, memory

Helpful Answer?  (0)   (0)    Tip voyagerent for this answer
Permalink | Report
   Reply  
 
 

Answer this Question

How tips and payments work

This question has already been resolved. You may add an answer to it but you will not be eligible to win best answer or any associated tips.

Ask a Question


140 characters left
Top of Page
Buy Mahalo Dollars with Credit Card or PayPal

Top Members

This Week All Time
  • buddawiggi
    buddawiggi
    2nd Degree Black Belt
    27543 Points
    M$789.91 Earned
  • opher
    opher
    Purple Belt
    4443 Points
    M$196.22 Earned
  • annelisle
    annelisle
    Purple Belt
    2997 Points
    M$91.22 Earned
   See All
 

Most Popular Tags

mahalo(1618)
iphone(465)
music(461)
google(357)
food(321)
online(295)
beer(279)
money(262)
movies(258)
apple(251)
aotd(235)
health(220)
video(207)
free(205)
dog(205)
   See All
 

Categories

Welcome New Members


 
 
Mahalo Dollars are the currency of Mahalo Answers.

Each Mahalo Dollar costs $1.

Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More

 
 

Please log in to use this function.