Recommended Posts

I've got a question about 4GB RAM and x64.

Well,with 32bit and 4GB RAM, it only sees 3.25GB(round it to 3GB). Application that are used only use half of the available RAM, so that would be 1.5GB.

2.6GB is available on the task manager but the extra 1GB isn't used.

I'm not sure what you mean by only use half of the available RAM.

The issue in the 32-bit consumer versions of Windows is that the kernel has a 32-bit virtual address space (VAS). This is essentially a list of 2^32 = 4,294,967,296 (4GB) of numbers (addresses) that can point to anything. It is not a 1:1 map of the physical RAM, and something that takes up part of virtual address space is not necessarily using the same amount of physical RAM.

For performance reasons, all the hardware resources on the motherboard have to be mapped into this VAS so that the various components of Windows can access them directly by simply looking at a certain address in the VAS list. If Windows has to map 1GB of these resources into the VAS. That means that it now only has 3GB of addresses left that it can map to the addresses of the actual physical RAM. If you have 4GB of physical RAM, the last GB simply remains unused and ignored by the system.

Now, that was the kernel's VAS, but in addition to that each process (application) on the system gets assigned its own unique and private 4GB (32-bit) VAS, where the lower 2GB belong to the process and are dynamically mapped to various addresses in physical RAM as the process allocates memory, and the high 2GB which are fixed and map to various resources in the kernel (for performance reasons.)

In other word, the most memory a single application can use (without resorting to manual memory management) is 2GB. However, since the VAS is unique to the process, two processes could if they wanted to each allocate 1.5GB on a machine with 3GB available RAM.

And like I said, if a process requires it, it can request chunks of memory and do its own memory management, and thus allocate as much memory as it wants. In other words, there is no restriction that make applications only capable of using half the available RAM.

If 64bit was installed, how much RAM would be available for that one application?

If system uses 1GB ram, then would 3GB be used for the application or would it be the same?

With Vista, Home Basic can support 8GB of ram, Home Premium 16GB, and the other versions up to 128GB. As for the physical limit, on the AMD64 (x64) platform, memory addressing is 48-bit. Not that you'd have that much memory anyway, most chipsets support far less.

The VAS each process is assigned on AMD64 Windows is divided 50/50 between allocatable memory and mapping to kernel resources just like on 32-bit, except instead of 2/2 GB (32-bit), it is 8/8 TB (43-bit). This can be gradually extended towards the full 64-bit in the future as/if it becomes necessary (it isn't done at present for performance reasons).

In other words, if you are running Home Premium 64-bit, an application can, without any extra work, allocate 8 TB of memory, where up to 16GB (128 for Ultimate) can be physical RAM and the rest swap on disk. That basically means all your RAM.

Sorry if this was a little too technical.

  • 3 weeks later...
  • 1 month later...

It should be noted that most consumer 32-bit operating systems limit memory usage to 4GB and hardware may limit this further. 64-bit versions of Windows XP and Windows Vista have memory limits of 128GB with the exception of Vista Home Premium and Vista Home Basic which have limits of 16GB and 8GB respectively. Vista Starter and XP Starter have no 64-bit versions and are limited to 1GB and 512MB respectively.

Each 32-bit process on a 64-bit operating system can use up to 2GB of RAM

Note: This can be increased by setting IMAGE_FILE_LARGE_ADDRESS_AWARE

Each 64-bit process on a 64-bit operating system can use up to 8TB of RAM

other than safer surfing, no.

32-bit drivers do not penetrate 64-bit operating systems.

That is a common misconception. Most browsers are still 32-bit, thus any browser extensions are still 32-bit. Very few virus or spyware attacks use system drivers and usually rely on installing services, start-up items and BHO's which could care less if the operating system is 32 or 64-bit.

Anti-virus applications are another story altogether. All of the major anti-virus vendors rely heavily on drivers thus must be specifically designed for a 64-bit operating system. Most of the vendors have already addressed this and have products on the market that are compatible. Users will find that with most of these, there will be increased scanning speeds on the 64-bit varieties versus the 32-bit counterparts.

When buying software for Windows Vista, look for the logo, it ensures that the vendor has met compatibility standards for both 32 and 64-bit.

It should be noted that most consumer 32-bit operating systems limit memory usage to 4GB and hardware may limit this further.

You mean most versions of Windows. Other modern 32-bit OSes generally have no such restriction as long as the hardware supports more. Mac OS X is an example of this (and I suppose the only other OS that qualifies as "consumer").

Also, your numbers aren't really correct. What you are describing is the size of the default virtual address space, not the most memory a process can use (which is any amount up to the available physical/virtual amount available).

It could have been a bit more simple. If you plan on having/have more then 3GB of RAM use a 64-bit operating system.

Outside of that, beyond rumors etc 2 or 3GB or lower with 64 bit operating system will not actually be any faster or anything in real world use or anything.

You mean most versions of Windows. Other modern 32-bit OSes generally have no such restriction as long as the hardware supports more. Mac OS X is an example of this (and I suppose the only other OS that qualifies as "consumer").

Also, your numbers aren't really correct. What you are describing is the size of the default virtual address space, not the most memory a process can use (which is any amount up to the available physical/virtual amount available).

I stand corrected. OSX does not have the 4GB limit that 32-bit Windows had although the applications had a 4GB limit prior to Tiger. It should be noted though that this thread is generally refering to Windows although I was ambiguous in my post.

Please cite your source regarding process memory usage.

It could have been a bit more simple. If you plan on having/have more then 3GB of RAM use a 64-bit operating system.

Outside of that, beyond rumors etc 2 or 3GB or lower with 64 bit operating system will not actually be any faster or anything in real world use or anything.

I have used Vista Home Premium 32-bit and 64-bit on the same hardware with 2GB of ram and in some applications I have noticed significant performance improvements. It is all dependant on whether the application was optimized for 64-bit calculations

Your source does not provide proof of your rebuttal. If I am wrong on my information I would like to know but thus far you have not shown me that 32-processes can use more than 2GB of memory without IMAGE_FILE_LARGE_ADDRESS_AWARE being set.

Did you look at it, because it's purpose is to allocate any amount of memory you want (up to the physical limit). Similar mechanisms exist on all modern operating systems, it's nothing special.

Understood, but unless the flag is set in the OS, it is irrelevant what the programmer did. Windows will still limit memory allocation to 2GB per process.

Understood, but unless the flag is set in the OS, it is irrelevant what the programmer did. Windows will still limit memory allocation to 2GB per process.

Uh, no. 2GB (3GB with 4GT and 4GB on WOW64 if large address aware) is the size of the virtual address space. No more, no less. The function I linked to allocates any number of pages (as long as they're available) which you can then map as you wish.

Uh, no. 2GB (3GB with 4GT and 4GB on WOW64 if large address aware) is the size of the virtual address space. No more, no less. The function I linked to allocates any number of pages (as long as they're available) which you can then map as you wish.

We're just going to have to agree to disagree. I have yet to see an application that can use more than 2GB on a 32-bit desktop Windows operating system.

No offence dude, but you're basically claiming that the earth is flat -- even after having been shown conclusive evidence that it is not. SQL Server is one example of a product that uses said API to support large amounts of RAM, so you can't have looked very far. There's no reason why you can't give it 60GB if you have it and an OS edition that is licensed to support that much RAM (i.e Datacenter).

Whether it's a desktop or server OS has no relevance, they both work the exact same way.

This is just a silly discussion.

No offence dude, but you're basically claiming that the earth is flat -- even after having been shown conclusive evidence that it is not. SQL Server is one example of a product that uses said API to support large amounts of RAM, so you can't have looked very far. There's no reason why you can't give it 60GB if you have it and an OS edition that is licensed to support that much RAM (i.e Datacenter).

Whether it's a desktop or server OS has no relevance, they both work the exact same way.

This is just a silly discussion.

Hrmm.... after some more reading, I stand corrected. It seems that you are correct about applications being able to use more than 2GB of ram. Aside from SQL Server, there seems to be little use of this so for all intensive purposes, this debate seems to be a moot point as there is little documented use of said API in applications that the average user would encounter on their home or office workstation. Considering that the 32-bit OS memory limit is 4GB it would stand to reason that anyone needing more than 2GB for any one application would be best to move to a 64-bit OS anyway to allow further memory expansion and to gain a mathematical advantage as such applications usually benefit noticeably from 64-bit operating systems

  • 2 months later...

I currently have 3.0 Gb of some off brand memory that I never heard of. My machine is capable of running 64 bit. I am going to install the 64 bit version of Windows 7 RC1. My question is. Memory is pretty cheap right now and I can get 8GB of Crucial Ballistix Ram for around $98.00.

Will that much ram generate allot of heat and is it over kill?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I disagree here sorry. The majority of their customers are corporations who are locked in to their eco system and have no choice. Private individuals don't contribute that much to their income.
    • Weekend PC Game Deals: Anno 117, Final Fantasy VII, Rematch, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic Games Store's mystery giveaways may have ended, but its regular freebies didn't miss a step this week. The double drop was for copies of Warhammer 40K Speed Freeks and The Ouroboros King. Speed Freeks lands for multiplayer racing fans, but with plenty of competitive shooting elements too. You will be piloting Ork buggies, tanks, and aircraft modeled after the popular tabletop miniatures while trying to complete objectives and pass finish lines. Next, Ouroboros King is a crossover between chess and tactical roguelikes, offering the chance to create your own army with special rules to beat incoming foes on the board. The double giveaway on the Epic Games Store will be available until June 11, and replacing it will be Citizen Sleeper and ROBOBEAT. The Humble Store brought a new charity bundle to check out this week too. Landing with the name The Complete Inkle Library, this is a large collection of interactive narrative puzzle games from the publisher Inkle. This begins with Heaven's Vault, four parts from the Sorcery series, 80 Days, Overboard, and Pendragon: Narrative Tactics within the starting tier for $9. Hopping up a step to the $12 tier gets you TR-49, Expelled, and A Highland Song for paying at least $12. If you go for the $20 tier, you get four e-books from the Heaven's Vault series. The bundle has almost three weeks on its counter before it goes away. Big Deals There is a larger than normal amount of weekend specials happening this time, including multiple publisher deals, franchise discounts, and indie gems to grab. With those and more, here's our hand-picked big deals list for the weekend: Anno 117: Pax Romana – $44.99 on Steam Clair Obscur: Expedition 33 – $39.99 on Steam Timberborn – $27.99 on Steam EARTH DEFENSE FORCE 6 – $26.39 on Steam Rust – $19.99 on Steam FINAL FANTASY VII REBIRTH – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Returnal – $19.79 on Steam Shape of Dreams – $17.49 on Steam Far Cry 6 – $14.99 on Steam Assassin's Creed Valhalla – $14.99 on Steam Quarantine Zone: The Last Check – $14.99 on Steam REMATCH – $14.99 on Steam EA SPORTS FC 26 – $13.99 on Steam FINAL FANTASY VII REMAKE INTERGRADE – $13.99 on Steam Magicraft – $12.79 on Steam Cult of the Lamb – $12.49 on Steam Dying Light 2: Reloaded Edition – $11.99 on Steam Cuphead – $11.99 on Steam Assassin's Creed Odyssey – $11.99 on Steam Hunt: Showdown 1896 – $11.99 on Steam Sektori – $11.99 on Steam Just Shapes & Beats – $11.99 on Steam Gunfire Reborn – $10.99 on Steam 33 Immortals – $9.99 on Epic Store Baby Steps – $9.99 on Steam Sifu – $9.99 on Steam Hearts of Iron IV – $9.99 on Steam DREDGE – $9.99 on Steam DAVE THE DIVER – $9.99 on Steam Pacific Drive – $9.89 on Steam Mycopunk – $9.74 on Steam Sons Of The Forest – $8.99 on Steam Jotunnslayer: Hordes of Hel – $8.99 on Steam Nuclear Throne – $8.99 on Steam Mechabellum – $8.99 on Steam Deep Rock Galactic: Survivor – $8.44 on Steam TerraTech Legion – $7.99 on Steam Inscryption – $7.99 on Steam Assassin's Creed Unity – $7.49 on Steam Minishoot' Adventures – $7.49 on Steam The Stanley Parable – $7.49 on Steam Oxygen Not Included – $7.49 on Steam Megabonk – $6.99 on Steam Look Outside – $5.99 on Steam Vampire Hunters – $5.24 on Steam MOTHERGUNSHIP – $4.99 on Steam My Friend Pedro – $3.99 on Steam The Messenger – $3.99 on Steam Vampire Survivors – $3.74 on Steam Brotato – $2.99 on Steam Enter the Gungeon – $2.99 on Steam Loop Hero – $2.99 on Steam GRIS – $2.99 on Steam Exit the Gungeon – $2.49 on Steam Hitman: Absolution – $1.99 on Steam CARRION – $1.99 on Steam Don't Starve Together – $1.49 on Steam Golf With Your Friends – $1.49 on Steam Hotline Miami – $0.99 on Steam The Ouroboros King – $0 on Epic Store Warhammer 40K Speed Freeks – $0 on Epic Store DRM-free Specials Hopping over to the DRM-free deals, the GOG store has plenty of discounts running this weekend too. Here are some highlights: Fallout 4: Game of the Year Edition - $15.99 on GOG Fallout: New Vegas Ultimate Edition - $9.99 on GOG Disco Elysium - The Final Cut - $9.99 on GOG Crysis - $9.99 on GOG Tyranny - Standard Edition - $7.49 on GOG Frostpunk: Game of the Year Edition - $7.35 on GOG Banished - $6.79 on GOG Fallout 3: Game of the Year Edition - $6.59 on GOG The Forgotten City - $6.25 on GOG The Age of Decadence - $5.99 on GOG SimCity 3000 Unlimited - $4.99 on GOG Assassin's Creed: Director's Cut - $4.99 on GOG SimCity 4 Deluxe Edition - $3.99 on GOG Vampyr - $3.99 on GOG Torchlight II - $3.99 on GOG Deus Ex GOTY Edition - $3.49 on GOG Primordia - $3.09 on GOG Theme Hospital - $2.99 on GOG SimCity 2000 Special Edition - $2.99 on GOG Total Annihilation: Kingdoms + Iron Plague - $2.99 on GOG Deus Ex: Human Revolution - Director’s Cut - $2.99 on GOG Master of Orion 1+2 - $2.39 on GOG Prince of Persia: The Sands of Time - $1.99 on GOG Prince of Persia: Warrior Within - $1.99 on GOG EVERSPACE - $1.99 on GOG Total Annihilation: Commander Pack - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • When will the Photos app be updated to remember the window size and position when reopened? They addressed this issue in a 2024 version of the app (though I can't recall the build number). Unfortunately, after that specific version, the problem persists! Please prioritise this fix in your K2 schedule. Additionally, the Snipping Tool has lost the ability to capture the Windows Taskbar starting from the 2024 version!
    • Same, never saw it on Android or iOS. Guess only some people got it *shrugs*
  • Recent Achievements

    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      484
    2. 2
      +Edouard
      171
    3. 3
      PsYcHoKiLLa
      140
    4. 4
      ATLien_0
      92
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!