Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > available ram for 32bit single app in 64 bit OS with huge amount of ram

Reply
Thread Tools

available ram for 32bit single app in 64 bit OS with huge amount of ram

 
 
ZF
Guest
Posts: n/a
 
      01-08-2009
<sorry for my bad english>

Hallo!
I would like to know who does "manage" the memory amount in this scenario:

Vista64 (business, pro ... ) with 20 GB of ram.

four 32-bit applications that run simultaneously

Will all these applications use all the memory amount that they can manage
(about 3,5 gb if I know correctly) or will they see only the first 3,5 gb of
ram even if we have much more?

I imagine this:

00:00:10 - free ram 19,5 on 20 GB
00:00:15 - start 32bit app #1
00:00:16 - will app#1 see 3,5 gb or 3,0? let's suppose: 3,5 ; I now use all
the ram app#1 can use.
00:00:30 - free ram is now 16,0 on 20 GB
00:00:31 - start 32bit app #2
00:00:32 - will app#2 see 3,5 gb or 0?
....
and so on.

I hope it was clear enough.
Can you help me?

</sorry for my bad english>

 
Reply With Quote
 
 
 
 
Charlie Russel - MVP
Guest
Posts: n/a
 
      01-08-2009
Each 32 bit application gets 4 GB of _virtual memory address space_. That's
not quite the same thing as RAM, though it's often confused with RAM. IAC,
for your purposes, each application is treated separately.

--
Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

"ZF" <> wrote in message
news:...
> <sorry for my bad english>
>
> Hallo!
> I would like to know who does "manage" the memory amount in this scenario:
>
> Vista64 (business, pro ... ) with 20 GB of ram.
>
> four 32-bit applications that run simultaneously
>
> Will all these applications use all the memory amount that they can manage
> (about 3,5 gb if I know correctly) or will they see only the first 3,5 gb
> of ram even if we have much more?
>
> I imagine this:
>
> 00:00:10 - free ram 19,5 on 20 GB
> 00:00:15 - start 32bit app #1
> 00:00:16 - will app#1 see 3,5 gb or 3,0? let's suppose: 3,5 ; I now use
> all the ram app#1 can use.
> 00:00:30 - free ram is now 16,0 on 20 GB
> 00:00:31 - start 32bit app #2
> 00:00:32 - will app#2 see 3,5 gb or 0?
> ...
> and so on.
>
> I hope it was clear enough.
> Can you help me?
>
> </sorry for my bad english>


 
Reply With Quote
 
 
 
 
DevilsPGD
Guest
Posts: n/a
 
      01-08-2009
In message <> "ZF"
<> was claimed to have wrote:

><sorry for my bad english>
>
>Hallo!
>I would like to know who does "manage" the memory amount in this scenario:
>
>Vista64 (business, pro ... ) with 20 GB of ram.
>
>four 32-bit applications that run simultaneously
>
>Will all these applications use all the memory amount that they can manage
>(about 3,5 gb if I know correctly) or will they see only the first 3,5 gb of
>ram even if we have much more?
>
>I imagine this:
>
>00:00:10 - free ram 19,5 on 20 GB
>00:00:15 - start 32bit app #1
>00:00:16 - will app#1 see 3,5 gb or 3,0? let's suppose: 3,5 ; I now use all
>the ram app#1 can use.
>00:00:30 - free ram is now 16,0 on 20 GB
>00:00:31 - start 32bit app #2
>00:00:32 - will app#2 see 3,5 gb or 0?
>...
>and so on.
>
>I hope it was clear enough.
>Can you help me?
>
></sorry for my bad english>


Each application gets 2GB of private virtual address space, or if
compiled with the /LARGEADDRESSAWARE switch then 4GB of private virtual
address space.

Each and every 32-bit application gets this same 2GB of address space
regardless of whether you have 1GB or 20GB of memory on the physical
system.

With four 32-bit applications (with /LARGEADDRESSAWARE) each can use a
full 4GB and you wouldn't necessarily be paging if you have 20GB of
total system RAM.
 
Reply With Quote
 
Charlie Russel - MVP
Guest
Posts: n/a
 
      01-08-2009
Actually, they get the full 4 GB of virtual memory address space, they just
don't know what to do with it, so ignore it. But the OS assigns them the
space, so far as I know.

--
Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

"DevilsPGD" <> wrote in message
news:...
> In message <> "ZF"
> <> was claimed to have wrote:
>
>><sorry for my bad english>
>>
>>Hallo!
>>I would like to know who does "manage" the memory amount in this scenario:
>>
>>Vista64 (business, pro ... ) with 20 GB of ram.
>>
>>four 32-bit applications that run simultaneously
>>
>>Will all these applications use all the memory amount that they can manage
>>(about 3,5 gb if I know correctly) or will they see only the first 3,5 gb
>>of
>>ram even if we have much more?
>>
>>I imagine this:
>>
>>00:00:10 - free ram 19,5 on 20 GB
>>00:00:15 - start 32bit app #1
>>00:00:16 - will app#1 see 3,5 gb or 3,0? let's suppose: 3,5 ; I now use
>>all
>>the ram app#1 can use.
>>00:00:30 - free ram is now 16,0 on 20 GB
>>00:00:31 - start 32bit app #2
>>00:00:32 - will app#2 see 3,5 gb or 0?
>>...
>>and so on.
>>
>>I hope it was clear enough.
>>Can you help me?
>>
>></sorry for my bad english>

>
> Each application gets 2GB of private virtual address space, or if
> compiled with the /LARGEADDRESSAWARE switch then 4GB of private virtual
> address space.
>
> Each and every 32-bit application gets this same 2GB of address space
> regardless of whether you have 1GB or 20GB of memory on the physical
> system.
>
> With four 32-bit applications (with /LARGEADDRESSAWARE) each can use a
> full 4GB and you wouldn't necessarily be paging if you have 20GB of
> total system RAM.


 
Reply With Quote
 
Magnus Flysjö
Guest
Posts: n/a
 
      01-08-2009
I would like to know if several 32-bit applications running at the same time
on a 64-bit version of Windows will be able to utilize the actual RAM
better.
In other words, is Windows Vista 64bit able to spread out each 32-bit
process virtual memory to RAM if the 64-bit system has for example 16GB of
RAM?

/Magnus

 
Reply With Quote
 
Bo Persson
Guest
Posts: n/a
 
      01-08-2009
Magnus Flysjö wrote:
> I would like to know if several 32-bit applications running at the
> same time on a 64-bit version of Windows will be able to utilize
> the actual RAM better.
> In other words, is Windows Vista 64bit able to spread out each
> 32-bit process virtual memory to RAM if the 64-bit system has for
> example 16GB of RAM?
>


Yes, the virtual addresses are mapped to any part of the physical
memory. The limitation on 32 bit programs is the SIZE of the memory it
can access.


Bo Persson


 
Reply With Quote
 
ZF
Guest
Posts: n/a
 
      01-08-2009


Magnus Flysjö wrote:
> I would like to know if several 32-bit applications running at the
> same time on a 64-bit version of Windows will be able to utilize the
> actual RAM better.
> In other words, is Windows Vista 64bit able to spread out each 32-bit
> process virtual memory to RAM if the 64-bit system has for example
> 16GB of RAM?
>
> /Magnus


i see that DevilsPGD said "With four 32-bit applications (with
/LARGEADDRESSAWARE) each can use a
full 4GB and you wouldn't necessarily be paging if you have 20GB of
total system RAM."



 
Reply With Quote
 
ZF
Guest
Posts: n/a
 
      01-08-2009


Charlie Russel - MVP wrote:
> Each 32 bit application gets 4 GB of _virtual memory address space_.
> That's not quite the same thing as RAM, though it's often confused
> with RAM. IAC, for your purposes, each application is treated
> separately.


Many many thanks, Charlie!
 
Reply With Quote
 
ZF
Guest
Posts: n/a
 
      01-08-2009


DevilsPGD wrote:
[...]

> Each application gets 2GB of private virtual address space, or if
> compiled with the /LARGEADDRESSAWARE switch then 4GB of private
> virtual address space.


if i, as a user and not a programmer, have a standard 32 application like
(for example) Photoshop (CS3), Some MS Office apps (ver 2003) ... i can't
compile, am I right? So it's impossible to me to use that switch, isn't it?

> Each and every 32-bit application gets this same 2GB of address space
> regardless of whether you have 1GB or 20GB of memory on the physical
> system.
>
> With four 32-bit applications (with /LARGEADDRESSAWARE) each can use a
> full 4GB and you wouldn't necessarily be paging if you have 20GB of
> total system RAM.


that's great.
can you clarify to me if that /LARGEADDRESSAWARE is something I can use or
is only a programmer's matter?

thanks DevilsPGD!

 
Reply With Quote
 
ZF
Guest
Posts: n/a
 
      01-08-2009


Bo Persson wrote:
> Magnus Flysjö wrote:
>> I would like to know if several 32-bit applications running at the
>> same time on a 64-bit version of Windows will be able to utilize
>> the actual RAM better.
>> In other words, is Windows Vista 64bit able to spread out each
>> 32-bit process virtual memory to RAM if the 64-bit system has for
>> example 16GB of RAM?
>>

>
> Yes, the virtual addresses are mapped to any part of the physical
> memory. The limitation on 32 bit programs is the SIZE of the memory it
> can access.


Supposing I have 4 gb of ram, what happens if i open 4 apps and try to make
them eat all the memory they can use?
We said each 32bit app sees 2 or 4 gb (let's say 2 for now)
every app sees 2 gb of free "memory address space", so we have 2+2+2+2 = 8
.... I think the OS can resize the response of what's the total and the free
available "memory address space" , right?

so if isn't used they see 2 gb, but when they reach *really* the maximum
memory usage ... what happens?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Name your fave Win app written in the last 11 years for which there IS NO cheaper or free alternative which will run on 9x-6.1, like any good 32bit app should. thanatoid Computer Support 59 10-02-2010 05:48 PM
Trouble with huge amount of State Server Sessions Timed out =?Utf-8?B?RGFuaWVsIFdhbHplbmJhY2g=?= ASP .Net 7 09-28-2006 03:36 PM
Huge amount of invisible rubbish in C:\WINDOWS\Local Settings\Temporary Internet Files nemo Computer Support 33 03-22-2005 03:45 AM
Clicking a "mailto:" link on a page opens huge amount of IE windows after a while Henk Jol Firefox 1 01-04-2005 10:13 PM
Efficient format for huge amount of data Gabriel Genellina Java 21 01-23-2004 10:56 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57