EQ2 Forum Archive @ EQ2Wire

 

Go Back   EQ2 Forum Archive @ EQ2Wire > EverQuest II > Support Forums > Tech Area > Performance Support
Members List Search Mark Forums Read

Notices

Reply
 
Thread Tools
Old 09-14-2011, 06:09 PM   #1
deadcrickets2

Loremaster
deadcrickets2's Avatar
 
Join Date: Aug 2010
Posts: 707
Default

I thought it might be a good time to do a very simplified post as to why a 32bit application such as EQ2 is limited to 2Gb on a 64bit operating system.

The main idea behind a 64bit operating system is to allow a computer to use beyond 4Gb of RAM.  It'd be able to use larger datasets and in theory run faster than a 32bit operating system.  When you run a 32bit application such as EQ2 it is limited to the 2Gb limitation that is not automatically extended by the operating system.  

Therefore you can run into a situation where the game can crash due to a memory error.  

One way around it is to use a switch recommended by Microsoft.  The way to use the switch varies based on whether you are using Windows XP or Vista/7/8.    Essentially what you are making use of is called 4GT.  4GT per Microsoft:

"The technology called 4-gigabyte tuning (4GT), also known as application memory tuning, or the /3GB switch, is one of two technologies that increase the amount of physical memory available to user mode applications."

"4GT makes more of the computer’s virtual memory available to applications by making less virtual memory available to the operating system. By enabling 4GT, applications are able to access 3 GB of virtual memory instead of the 2 GB normally allocated for user mode processes. This is a 50 percent increase in virtual memory, allowing more data to be cached and potentially significantly increasing performance."

Again, per Microsoft, this is not automatically done except on the Windows 2003 server family.   You have to manually enable it.  There is a lot of bad information on the internet in referece to this and many other switches available on the operating system.  I suggest users only follow legitimate sources, such as Microsoft itself, to determine if this is right.  As always, this solution is not endorsed by SOE.

How to enable the switch to avoid the memory crashes:

Vista/7/8:

Click on the Start menu, type in cmd.exe. Right click on cmd.exe and click Run as Administrator. Once the command window pops up type in bcdedit /set IncreaseUserVA 3072 and press enter. Restart your computer.

On Windows XP x64:

‪1.‬Right-click My Computer and select Properties. The System Properties dialog box will appear.‪2.‬Click the Advanced tab.‪3.‬In the Startup and Recovery area, click Settings. The Startup and Recovery dialog box will appear.‪4.‬In the System startup area, click Edit. This will open the Windows boot.ini file in Notepad.‪5.‬In the [Operating Systems] section, add the following switches to the end of the startup line that includes the /fastdetect switch: /3GB‪6.‬Save the changes and close Notepad.‪7.‬Click OK two times to close the open dialog boxes, and then restart the computer for the change to take effect.

These changes are not meant for systems that have under 4Gb of system RAM nor a computer using integrated graphics as the integrated graphics shares system RAM.

__________________
Find me on Steam, Skype and Raptr: tigerglebe

Am also on Playxpert.

If I have time I'll even answer tech questions.

deadcrickets2 is offline   Reply With Quote
Old 09-14-2011, 06:16 PM   #2
TSR-JoshuaM

Customer Service
TSR-JoshuaM's Avatar
 
Join Date: Jan 2011
Posts: 5,609
Default

I'll sticky this one as it does contain great information even if we, SOE, do not support the method itself.

While SOE does not support making such modifications, that only means that you should consult an experienced technician and/or that you are proceeding at your own risk (although these commands should have absolutely no negative impact whatsoever). 

__________________
TSR Joshua M.

Technical Support Representative

Sony Online Entertainment



How to Contact Support:

https://help.station.sony.com/app/answers/detail/a_id/28939



How to Create a DXDIAG/MSINFO

https://help.station.sony.com/app/answers/detail/a_id/28973
TSR-JoshuaM is offline   Reply With Quote
Old 10-16-2011, 11:36 PM   #3
Brigh

Loremaster
Brigh's Avatar
 
Join Date: Nov 2004
Posts: 3,159
Default

If you play Oblivion then you are / should be aware of the 4 GB patcher that simply changes a line (can do this with CFF Explorer as well if you know / read where to change it) by a simple process internally for you.

The problem with constantly changing games like EQ II (and the auto patching of Steam in the case of Steam version of Oblivion) is the auto patcher will patch it. You will need to run the auto-updater, then use the 4 GB patcher, then launch the everquest2.exe. Perhaps someone with batch file creation knowledge could make one that would do this process automatically.

edit 12/8/11

It seems EQ II doesn't change it now or it has been set up to use more than 2 GB as everytime I look at the header using  CFF Explorer it shows it check marked as "App can handle > 2gb addressest".

__________________
Anything you can achieve through hard work, you can also just buy.

-Stephen Colbert

CoD3 double XP Rank Up promotion lesson for kids
Brigh is offline   Reply With Quote
Old 12-12-2011, 10:12 AM   #4
Hateeternal

Loremaster
Hateeternal's Avatar
 
Join Date: Feb 2009
Location: Berlin
Posts: 155
Default

Very very nice, thank you very much for this explanation.

Reduced my reloading times for like NPCs and interiors in the GH plus log-in times for minutes.

Got a question though, how can one reverse this change if one had to or wanted to? SMILEY

regards

__________________
Ihr seid lästig und habt euch noch nicht entschieden, wen ihr nerven werdet.

SOE Schedule:

8:00: see what isn't broken yet and break it

10:00: ban players complaining about it on the board

11:00: implement stuff noone wants, that breaks other stuff

-repeat-
Hateeternal is offline   Reply With Quote
Old 12-12-2011, 11:01 AM   #5
Caernarvon

Loremaster
Caernarvon's Avatar
 
Join Date: Dec 2004
Location: Lincolnshire, England
Posts: 44
Default

I'm about to try this myself as playing on a 4GB system under Vista 32-bit has become very problematic since AoD even after having bumped the graphics all the way down - everything was fine before AoD on High Performance.  Updating to 64-bit is just not an option for me right now and no doubt many many others too.Before I go ahead and invoke it, I decided to look up how to revoke this command should my system become unstable, and the command to do go back to how things were is...bcdedit /set IncreaseUserVa 2048

Caernarvon is offline   Reply With Quote
Old 12-12-2011, 12:35 PM   #6
Caernarvon

Loremaster
Caernarvon's Avatar
 
Join Date: Dec 2004
Location: Lincolnshire, England
Posts: 44
Default

Ok this has worked a treat for me with Windows Vista 32 bit 4GB RAM and a 512mb GeForce 9800GT, thank you so much! I am now able to bump my graphics back up to high performance, and bounce around between multiple highly decorated / populated zones time after time just as I was able to Pre GU62 / AoD without getting the critical errors / out of memory that have been coming up since AoD - thanks again!

Caernarvon is offline   Reply With Quote
Old 12-12-2011, 02:38 PM   #7
-=Hoss=-

Loremaster
-=Hoss=-'s Avatar
 
Join Date: Jan 2005
Posts: 402
Default

Wouldn't just increasng the size of your virtual memory do the same thing?  Or does the OS try to suck up everything beyond a certain limit? 

-=Hoss=- is offline   Reply With Quote
Old 12-12-2011, 02:51 PM   #8
Caernarvon

Loremaster
Caernarvon's Avatar
 
Join Date: Dec 2004
Location: Lincolnshire, England
Posts: 44
Default

-=Hoss=- wrote:

Wouldn't just increasng the size of your virtual memory do the same thing?  Or does the OS try to suck up everything beyond a certain limit? 

Well I upped my virtual memory paging file size last week to around 3 times the size of my RAM, which I read elsewhere in these forums that that would help but I continuted to experience difficulties.This trick worked for me though, I haven't crashed since using it, whereas previously I was crashing every other major zone change pretty much, and that was on a lower graphics setting.

Caernarvon is offline   Reply With Quote
Old 12-12-2011, 03:12 PM   #9
Therendil

Loremaster
Therendil's Avatar
 
Join Date: May 2008
Posts: 327
Default

Thanks for this post! Not sure if it will help, but I am going to try it.

-= Therendil =-

__________________


Therendil is offline   Reply With Quote
Old 12-12-2011, 03:17 PM   #10
TSR-JoshuaM

Customer Service
TSR-JoshuaM's Avatar
 
Join Date: Jan 2011
Posts: 5,609
Default

-=Hoss=- wrote:

Wouldn't just increasng the size of your virtual memory do the same thing?  Or does the OS try to suck up everything beyond a certain limit? 

No, it still would not allow a single specific application to consume over 2GB of memory by itself.  This switch allows an application,such as EQII, to consume more than 2GB. 

__________________
TSR Joshua M.

Technical Support Representative

Sony Online Entertainment



How to Contact Support:

https://help.station.sony.com/app/answers/detail/a_id/28939



How to Create a DXDIAG/MSINFO

https://help.station.sony.com/app/answers/detail/a_id/28973
TSR-JoshuaM is offline   Reply With Quote
Old 12-12-2011, 03:26 PM   #11
Kerahzey

Loremaster
Kerahzey's Avatar
 
Join Date: Sep 2005
Location: California
Posts: 111
Default

To JoshuaM,

I have Win 7 with 16 Gigs of RAM, 2.8 I7 Proccessor, ATI Video Card (newer).  I lag real bad during raids.  I Lag real real bad when the mages throw down that lighting effect on the ground.  I am on the Bazaar server will this all change when we switch to Freeport Server ??  I have 64 Bit is there anything I can do if the new server does not help ??

__________________
Kerahzey is offline   Reply With Quote
Old 12-12-2011, 05:05 PM   #12
TSR-JoshuaM

Customer Service
TSR-JoshuaM's Avatar
 
Join Date: Jan 2011
Posts: 5,609
Default

[email protected] Bazaar wrote:

To JoshuaM,

I have Win 7 with 16 Gigs of RAM, 2.8 I7 Proccessor, ATI Video Card (newer).  I lag real bad during raids.  I Lag real real bad when the mages throw down that lighting effect on the ground.  I am on the Bazaar server will this all change when we switch to Freeport Server ??  I have 64 Bit is there anything I can do if the new server does not help ??

Post your DXDIAG info maybe we can make recommendations now.  One thing I'll note right away is that you should use GPU shadows instead of CPU and disable Point LIght Shadows (CPU).

__________________
TSR Joshua M.

Technical Support Representative

Sony Online Entertainment



How to Contact Support:

https://help.station.sony.com/app/answers/detail/a_id/28939



How to Create a DXDIAG/MSINFO

https://help.station.sony.com/app/answers/detail/a_id/28973
TSR-JoshuaM is offline   Reply With Quote
Old 12-13-2011, 02:39 AM   #13
Kerahzey

Loremaster
Kerahzey's Avatar
 
Join Date: Sep 2005
Location: California
Posts: 111
Default

Wow that one setting alone helped alot, thanks alot.  You want me to post that whole file dxdiag and I have two of them one for 32 bit and one for 64 bit ??  Or should I send a private mail and not clog up the forums ?? Oh ya and how do I disable Point Light Shadows, I couldn't find that. Thanks again  

__________________
Kerahzey is offline   Reply With Quote
Old 12-13-2011, 12:31 PM   #14
Imprint
Server: Antonia Bayle
Guild: Lords of the Three Realms
Rank: Officer

Loremaster
 
Join Date: Aug 2005
Posts: 19
Default

deadcrickets2 wrote:

On Windows XP:‪5.‬In the [Operating Systems] section, add the following switches to the end of the startup line that includes the /fastdetect switch: /3GB

 Ok I am perfectly willing to give this a go, but though this instruction probably seems clear to everyone else on the planet, to me it is confusing (and I -really- do not want to mess this up)

This is what appears for me to edit in notepad:

[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

As you can see, "/fastdetect" is already in there.

Do I add "/fastdetect switch: /3GB" to the end of that line? (After "/usepmtimer"?) (And leave the other /fastdetect where it is?)

Or do I add "switch: /3GB" after the /fastdetect which is -already- in the line?

Also the instruction refers to adding "switches", plural. But this is only one switch, right?

__________________
aka: Imprint, Zentryst, Sjofn, etc
Imprint is offline   Reply With Quote
Old 12-13-2011, 12:54 PM   #15
Brigh

Loremaster
Brigh's Avatar
 
Join Date: Nov 2004
Posts: 3,159
Default

[email protected] Bayle wrote:

deadcrickets2 wrote:

On Windows XP:‪5.‬In the [Operating Systems] section, add the following switches to the end of the startup line that includes the /fastdetect switch: /3GB

 Ok I am perfectly willing to give this a go, but though this instruction probably seems clear to everyone else on the planet, to me it is confusing (and I -really- do not want to mess this up)

This is what appears for me to edit in notepad:

[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

As you can see, "/fastdetect" is already in there.

Do I add "/fastdetect switch: /3GB" to the end of that line? (After "/usepmtimer"?) (And leave the other /fastdetect where it is?)

Or do I add "switch: /3GB" after the /fastdetect which is -already- in the line?

Also the instruction refers to adding "switches", plural. But this is only one switch, right?

He is saying add /3GB in the line that includes "/fastdetect". Plural was was just a mistake obviously since only one was mentioned.

__________________
Anything you can achieve through hard work, you can also just buy.

-Stephen Colbert

CoD3 double XP Rank Up promotion lesson for kids
Brigh is offline   Reply With Quote
Old 12-13-2011, 01:02 PM   #16
Imprint
Server: Antonia Bayle
Guild: Lords of the Three Realms
Rank: Officer

Loremaster
 
Join Date: Aug 2005
Posts: 19
Default

Brigh wrote:

[email protected] Bayle wrote:

deadcrickets2 wrote:

On Windows XP:‪5.‬In the [Operating Systems] section, add the following switches to the end of the startup line that includes the /fastdetect switch: /3GB

 Ok I am perfectly willing to give this a go, but though this instruction probably seems clear to everyone else on the planet, to me it is confusing (and I -really- do not want to mess this up)

This is what appears for me to edit in notepad:

[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

He is saying add /3GB in the line that includes "/fastdetect". Plural was was just a mistake obviously since only one was mentioned.

Yes it seemed obvious to me as well but you have no idea how loathe I am to make assumptions when it comes to things like this. So! To make this ultra extreme ub3r|y mind numbingly clear!

When I add the switch that part of the file I quoted will look like this:[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /3GB /usepmtimer

Right?

... or will it be this?:[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer /3GB

__________________
aka: Imprint, Zentryst, Sjofn, etc
Imprint is offline   Reply With Quote
Old 12-13-2011, 02:40 PM   #17
deadcrickets2

Loremaster
deadcrickets2's Avatar
 
Join Date: Aug 2010
Posts: 707
Default

[email protected] Bayle wrote:

Brigh wrote:

[email protected] Bayle wrote:

deadcrickets2 wrote:

On Windows XP:‪5.‬In the [Operating Systems] section, add the following switches to the end of the startup line that includes the /fastdetect switch: /3GB

 Ok I am perfectly willing to give this a go, but though this instruction probably seems clear to everyone else on the planet, to me it is confusing (and I -really- do not want to mess this up)

This is what appears for me to edit in notepad:

[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

He is saying add /3GB in the line that includes "/fastdetect". Plural was was just a mistake obviously since only one was mentioned.

Yes it seemed obvious to me as well but you have no idea how loathe I am to make assumptions when it comes to things like this. So! To make this ultra extreme ub3r|y mind numbingly clear!

When I add the switch that part of the file I quoted will look like this:[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /3GB /usepmtimer

Right?

... or will it be this?:[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer /3GB

The order of the switches doesn't matter in this case.  However, to eliminate chance of user error it's best to add it after the last switch.  So in your case the second option is best.

__________________
Find me on Steam, Skype and Raptr: tigerglebe

Am also on Playxpert.

If I have time I'll even answer tech questions.

deadcrickets2 is offline   Reply With Quote
Old 12-13-2011, 02:53 PM   #18
Imprint
Server: Antonia Bayle
Guild: Lords of the Three Realms
Rank: Officer

Loremaster
 
Join Date: Aug 2005
Posts: 19
Default

deadcrickets2 wrote:

[email protected] Bayle wrote:

... or will it be this?:[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer /3GB

The order of the switches doesn't matter in this case.  However, to eliminate chance of user error it's best to add it after the last switch.  So in your case the second option is best.

Thank you.

Do I need to do anything to the virtual memory setting? Right now I have the "initial size" and "maximum size" set to 4096 (double my physical RAM of 2GB)

__________________
aka: Imprint, Zentryst, Sjofn, etc
Imprint is offline   Reply With Quote
Old 12-13-2011, 03:21 PM   #19
TSR-JoshuaM

Customer Service
TSR-JoshuaM's Avatar
 
Join Date: Jan 2011
Posts: 5,609
Default

[email protected] Bazaar wrote:

Wow that one setting alone helped alot, thanks alot.  You want me to post that whole file dxdiag and I have two of them one for 32 bit and one for 64 bit ??  Or should I send a private mail and not clog up the forums ?? Oh ya and how do I disable Point Light Shadows, I couldn't find that. Thanks again  

Click the Advanced button in the display options, its also under Shadows.  How big of a jump did moving to GPU shadows give ya?

For the DXDIAG info, the best path is to open a support ticket with it included and just post your incident number.

__________________
TSR Joshua M.

Technical Support Representative

Sony Online Entertainment



How to Contact Support:

https://help.station.sony.com/app/answers/detail/a_id/28939



How to Create a DXDIAG/MSINFO

https://help.station.sony.com/app/answers/detail/a_id/28973
TSR-JoshuaM is offline   Reply With Quote
Old 12-13-2011, 05:49 PM   #20
deadcrickets2

Loremaster
deadcrickets2's Avatar
 
Join Date: Aug 2010
Posts: 707
Default

[email protected] Bayle wrote:

deadcrickets2 wrote:

[email protected] Bayle wrote:

... or will it be this?:[operating systems]multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer /3GB

The order of the switches doesn't matter in this case.  However, to eliminate chance of user error it's best to add it after the last switch.  So in your case the second option is best.

Thank you.

Do I need to do anything to the virtual memory setting? Right now I have the "initial size" and "maximum size" set to 4096 (double my physical RAM of 2GB)

The page file should be controlled by the operating system.  It doesn't work like in the old days when it was called a swap file.  Those advocating a controlled size page file are often creating unforeseen problems in programs.

__________________
Find me on Steam, Skype and Raptr: tigerglebe

Am also on Playxpert.

If I have time I'll even answer tech questions.

deadcrickets2 is offline   Reply With Quote
Old 12-14-2011, 10:47 AM   #21
Imprint
Server: Antonia Bayle
Guild: Lords of the Three Realms
Rank: Officer

Loremaster
 
Join Date: Aug 2005
Posts: 19
Default

deadcrickets2 wrote:

[email protected] Bayle wrote:

Thank you.

Do I need to do anything to the virtual memory setting? Right now I have the "initial size" and "maximum size" set to 4096 (double my physical RAM of 2GB)

The page file should be controlled by the operating system.  It doesn't work like in the old days when it was called a swap file.  Those advocating a controlled size page file are often creating unforeseen problems in programs.

Thanks again. Made all the changes and the computer is functioning. No idea yet if it took care of the critical out of memory errors.

(The person who set up this soon to be ex computer made those settings in virtual memory. He is also an ex. heh.)

__________________
aka: Imprint, Zentryst, Sjofn, etc
Imprint is offline   Reply With Quote
Old 12-14-2011, 11:58 AM   #22
Kerahzey

Loremaster
Kerahzey's Avatar
 
Join Date: Sep 2005
Location: California
Posts: 111
Default

TSR-JoshuaM wrote:

[email protected] Bazaar wrote:

Wow that one setting alone helped alot, thanks alot.  You want me to post that whole file dxdiag and I have two of them one for 32 bit and one for 64 bit ??  Or should I send a private mail and not clog up the forums ?? Oh ya and how do I disable Point Light Shadows, I couldn't find that. Thanks again  

Click the Advanced button in the display options, its also under Shadows.  How big of a jump did moving to GPU shadows give ya?

For the DXDIAG info, the best path is to open a support ticket with it included and just post your incident number.

I havn't measured it but my problem is taken care of the performence is awsome and also a few guildy's were helped also.  I'll leave the dxdiag thing for another day if I have problems.  Thanks for all your help, you rock SMILEY

__________________
Kerahzey is offline   Reply With Quote
Old 12-15-2011, 09:15 AM   #23
Avirodar
Server: Oasis
Guild: Tyranny
Rank: Champion

Loremaster
Avirodar's Avatar
 
Join Date: Dec 2005
Posts: 2,035
Default

deadcrickets2 wrote:

I thought it might be a good time to do a very simplified post as to why a 32bit application such as EQ2 is limited to 2Gb on a 64bit operating system.

The main idea behind a 64bit operating system is to allow a computer to use beyond 4Gb of RAM.  It'd be able to use larger datasets and in theory run faster than a 32bit operating system.  When you run a 32bit application such as EQ2 it is limited to the 2Gb limitation that is not automatically extended by the operating system.  

Therefore you can run into a situation where the game can crash due to a memory error.  

One way around it is to use a switch recommended by Microsoft.  The way to use the switch varies based on whether you are using Windows XP or Vista/7/8.    Essentially what you are making use of is called 4GT.  4GT per Microsoft:

"The technology called 4-gigabyte tuning (4GT), also known as application memory tuning, or the /3GB switch, is one of two technologies that increase the amount of physical memory available to user mode applications."

"4GT makes more of the computer’s virtual memory available to applications by making less virtual memory available to the operating system. By enabling 4GT, applications are able to access 3 GB of virtual memory instead of the 2 GB normally allocated for user mode processes. This is a 50 percent increase in virtual memory, allowing more data to be cached and potentially significantly increasing performance."

Again, per Microsoft, this is not automatically done except on the Windows 2003 server family.   You have to manually enable it.  There is a lot of bad information on the internet in referece to this and many other switches available on the operating system.  I suggest users only follow legitimate sources, such as Microsoft itself, to determine if this is right.  As always, this solution is not endorsed by SOE.

How to enable the switch to avoid the memory crashes:

Vista/7/8:

Click on the Start menu, type in cmd.exe. Right click on cmd.exe and click Run as Administrator. Once the command window pops up type in bcdedit /set IncreaseUserVA 3072 and press enter. Restart your computer.

On Windows XP:

‪1.‬Right-click My Computer and select Properties. The System Properties dialog box will appear.‪2.‬Click the Advanced tab.‪3.‬In the Startup and Recovery area, click Settings. The Startup and Recovery dialog box will appear.‪4.‬In the System startup area, click Edit. This will open the Windows boot.ini file in Notepad.‪5.‬In the [Operating Systems] section, add the following switches to the end of the startup line that includes the /fastdetect switch: /3GB‪6.‬Save the changes and close Notepad.‪7.‬Click OK two times to close the open dialog boxes, and then restart the computer for the change to take effect.

The very first line from the quote above : "why a 32bit application such as EQ2 is limited to 2Gb on a 64bit operating system."Hi. Please get your information correct. Your very first line is wrong. I run a stock standard install of Win7, 64bit version. No modifications, no fancy edits, plain defaults. Last night, my EQ2 client was using 2.8 GB of memory.2.8GB of memory is over the 2GB limit that you incorrectly claimed.Everything I have read thus far on /4GT (/3GB) from microsoft documentation, indicates your information is either useless, or potentially detrimental to anyone running a 64bit operating system.If you are not running a 32bit operating system, ignore the OP's advice. For most people, it poses more risk than benefit. If in doubt, do your own research on what /4GT is.  While I am sure the OP was made with good intentions, but it is an unwise action for most users, especially if you have not done your research.I pulled this quote from one of the microsoft documents regarding /4GT"4-gigabyte tuning (4GT), also known as application memory tuning, or the /3GB switch, is a technology (only applicable to 32 bit systems) that alters the amount of virtual address space available to user mode applications."With the limited target audience for the information in the OP, and the potential for user error, I suggest this thread be unstickied, incorrect information be removed, and due warnings be provided..

__________________
Templar of Oasis
Avirodar is offline   Reply With Quote
Old 12-15-2011, 10:04 AM   #24
deadcrickets2

Loremaster
deadcrickets2's Avatar
 
Join Date: Aug 2010
Posts: 707
Default

[email protected] wrote:

deadcrickets2 wrote:

The very first line from the quote above : "why a 32bit application such as EQ2 is limited to 2Gb on a 64bit operating system."Hi. Please get your information correct. Your very first line is wrong. I run a stock standard install of Win7, 64bit version. No modifications, no fancy edits, plain defaults. Last night, my EQ2 client was using 2.8 GB of memory.2.8GB of memory is over the 2GB limit that you incorrectly claimed.Everything I have read thus far on /4GT (/3GB) from microsoft documentation, indicates your information is either useless, or potentially detrimental to anyone running a 64bit operating system.If you are not running a 32bit operating system, ignore the OP's advice. For most people, it poses more risk than benefit. If in doubt, do your own research on what /4GT is.  While I am sure the OP was made with good intentions, but it is an unwise action for most users, especially if you have not done your research.I pulled this quote from one of the microsoft documents regarding /4GT"4-gigabyte tuning (4GT), also known as application memory tuning, or the /3GB switch, is a technology (only applicable to 32 bit systems) that alters the amount of virtual address space available to user mode applications."With the limited target audience for the information in the OP, and the potential for user error, I suggest this thread be unstickied, incorrect information be removed, and due warnings be provided..

Let's tackle this head-on.  First off, 64bit operating systems have the same 32bit application limits as a 32bit operating system.  This is due to the WoW, Windows on Windows, system.   According to Microsoft:

"32-bit processes that run on 64-bit versions of Windows run in a 4-GB tuning model (2 GB User and 2GB Kernel)"

From same article by Microsoft is this chart:

Memory typeLimit in on X86Limit in 64-bit Windows

User-mode virtual address space for each 32-bit process

2 GB

Up to 3 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE and 4GT

2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared (default)

4 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE set

What that means is that all processes (applications) are only able to use 2, not 4 or 5 or 16.  The rest is reserved for the kernel.

Secondly, from Microsoft in regards to using 4GT on 64bit operating systems:

"On 64-bit editions of Windows, 32-bit applications marked with the IMAGE_FILE_LARGE_ADDRESS_AWARE flag have 4 GB of address space available."

Thirdly, when you see memory usage under Task Manager it may include page file use.  Thus you could have 512Mb of RAM and have an application showing as using 1.2Gb.

As for stability, Microsoft vouches for the stability of it.  If you do a search you'll also find that Oracle has an article about it and they, too, vouch for it.

__________________
Find me on Steam, Skype and Raptr: tigerglebe

Am also on Playxpert.

If I have time I'll even answer tech questions.

deadcrickets2 is offline   Reply With Quote
Old 12-15-2011, 10:23 AM   #25
Avirodar
Server: Oasis
Guild: Tyranny
Rank: Champion

Loremaster
Avirodar's Avatar
 
Join Date: Dec 2005
Posts: 2,035
Default

Your information contradicts itself. I have not enabled any large memory awareness, I have not changed any stock, default, factory settings. My EQ2 client can, and does, use more than 2GB of memory.Unless you are trying to tell me that 2.8GB of memory is less than 2.0GB of memory, your post is wrong. That is why I have called the legitimacy and reliability of the information snippets you provide, in legitimate question.The rest of your post is meaningless snippets of an overall picture you do not fully comprehend. I have most definitely NOT enabled /4GT on my machine and I can have 2 clients of EQ2 open, each using over 2.6 GB of memory. When microsoft themselves say /4GT is only for 32 bit machines, I believe them.

__________________
Templar of Oasis
Avirodar is offline   Reply With Quote
Old 12-15-2011, 11:13 AM   #26
deadcrickets2

Loremaster
deadcrickets2's Avatar
 
Join Date: Aug 2010
Posts: 707
Default

[email protected] wrote:

Your information contradicts itself. I have not enabled any large memory awareness, I have not changed any stock, default, factory settings. My EQ2 client can, and does, use more than 2GB of memory.Unless you are trying to tell me that 2.8GB of memory is less than 2.0GB of memory, your post is wrong. That is why I have called the legitimacy and reliability of the information snippets you provide, in legitimate question.The rest of your post is meaningless snippets of an overall picture you do not fully comprehend. I have most definitely NOT enabled /4GT on my machine and I can have 2 clients of EQ2 open, each using over 2.6 GB of memory. When microsoft themselves say /4GT is only for 32 bit machines, I believe them.

No, it does not contradict itself.  Look at the chart, above, provided by Microsoft themselves.

Secondly, you are, obviously, confused as to how memory is handled in Windows.  What you are seeing when you look under Task Manager is the process working set.  This total will include both the memory and address space limits plus the virtual memory stored in the page file.  The memory and address space limits is what Microsoft refers to when they mention 4GT and why it has to be enabled.  It also explains how you can have a larger number than 2048 in task manager and not crash.    So on a 64bit system it has 4GT by default.  However, it is set to 2 GB for you and 2 GB for the system.  What I show in the OP is a change to make it 3 GB for you and 1 GB for the system.   This prevents the page fault errors players are seeing.

Whenver you start a program on Windows it will automatically allocate virtual memory space regardless of if the program actually needs it.  That virtual memory will keep growing as you use the program; again, regardless of if the program still needs the information.   The page file will not, however, keep a program from crashing due to a page fault when it does exceed the memory and address space limitation placed on it by the WoW32 subsystem.

The only way that the memory can be kept under the limit is due to what is called 'garbage cleanup' done by the application itself.  If the application has not been coded correctly you will see the memory leak that some users are seeing now.

__________________
Find me on Steam, Skype and Raptr: tigerglebe

Am also on Playxpert.

If I have time I'll even answer tech questions.

deadcrickets2 is offline   Reply With Quote
Old 12-15-2011, 11:24 AM   #27
deadcrickets2

Loremaster
deadcrickets2's Avatar
 
Join Date: Aug 2010
Posts: 707
Default

Another thing to keep in mind is how they wrote the line that you are refering to earlier that caused the confusion.  It's a common error.

The line you quoted is:

"4-gigabyte tuning (4GT), also known as application memory tuning, or the /3GB switch, is a technology (only applicable to 32 bit systems) that alters the amount of virtual address space available to user mode applications"

Let's break down that line to fully understand it.  It's stating that:

4-gigabyte tuning (4GT), also known as application memory tuning, is a technology that alters the amount of virtual address space available to user mode applications.

This is a true statement.

However, it tossed in a qualifier into the sentence that confuses people by stating that /3GB is only applicable to 32 bit systems.  That, also is true.  On the Vista 64, Windows 7 64 and Windows 8 64 systems they ignore those boot switches.

Instead, it's done by the bcdedit.

__________________
Find me on Steam, Skype and Raptr: tigerglebe

Am also on Playxpert.

If I have time I'll even answer tech questions.

deadcrickets2 is offline   Reply With Quote
Old 12-15-2011, 11:42 AM   #28
deadcrickets2

Loremaster
deadcrickets2's Avatar
 
Join Date: Aug 2010
Posts: 707
Default

Addendum:

If anyone wants a much more indepth look into the subject I would suggest the following blog entry by Mark Russinovich who works as a Tech Fellow at Microsoft:

http://blogs.technet.com/b/markruss...17/3155406.aspx

__________________
Find me on Steam, Skype and Raptr: tigerglebe

Am also on Playxpert.

If I have time I'll even answer tech questions.

deadcrickets2 is offline   Reply With Quote
Old 12-15-2011, 12:11 PM   #29
Felynx

Master
Felynx's Avatar
 
Join Date: Oct 2011
Posts: 80
Default

Thank you for the info on this, DC. You have helped myself, and many others here. 

Cheers

Felynx is offline   Reply With Quote
Old 12-15-2011, 12:34 PM   #30
Levatino

Loremaster
Levatino's Avatar
 
Join Date: Dec 2005
Location: Netherlands
Posts: 1,285
Default

I also would like to thank the OP. Since using 3GT I haven't had a crash in Freeport (I had hickups and I think it would have had crashed on me if I hadn't use this tech.)

I want to add one thing though. I think it's adviceable if you want to add the 3GT switch you instead of adding it to your existing line in the operating systems area of the boot.ini file; you copy paste the existing line and add the switch onto that. Then if it would fail or hicks up your system you always have the first configuarion to fall back on.

With copy paste the original line and adding the 3GT switch you create a secondary operating system, if it fails just load up your original operating system go back to your boot.ini and delete the copy pasted line.

And if you are not sure of what to do, please first contact someone in your neighbourhood who does has knowledge about this sort of things

__________________
Levatino is offline   Reply With Quote
Reply

Thread Tools

Forum Jump


All times are GMT. The time now is 08:43 PM.

vBulletin skin by: CompleteGFX.com
Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
All threads and posts originally from the EQ2 and Station forums operated by Sony Online Entertainment. Their use is by express written permission.