IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>

  Reply to this topicStart new topicStart Poll

 Large Address Aware not working

 GTAIV won't use more than 2GB mem
 
naught405  
Posted: Tuesday, Sep 4 2012, 23:02
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Sep 2, 2012

XXXXX



GTAIV.exe will not access more than 2GB memory and crashes when it gets near that. I have verified (using CFF Explorer) that it is largeaddressaware and i have the launch options set to "-norestrictions -reservedApp 0 -nomemrestrict." This is GTA IV via steam v1.0.7.0. Running on Win7x64 on the rig in my signature. Anyone know what to do?
PM
  Top
 

 
Brainsick  
Posted: Tuesday, Sep 4 2012, 23:47
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Sep 10, 2011

XXXXX



Try the 4gb patch:

http://www.ntcore.com/4gb_patch.php

Let us know how it works!


-edit- btw, you have to apply it to GTAIV.exe not launchgtaiv.exe. ALSO, keep those commandlines and add "-reserve 0" as well.

This post has been edited by Brainsick on Tuesday, Sep 4 2012, 23:50
PM
  Top
 

 
naught405  
Posted: Wednesday, Sep 5 2012, 03:17
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Sep 2, 2012

XXXXX



ok i added that command and i ran the 4gb patch but all that does is set the largeaddressaware flag to yes which i already said is set (see CFF explorer,) that's the main problem.
PM
  Top
 

 
Brainsick  
Posted: Wednesday, Sep 5 2012, 03:21
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Sep 10, 2011

XXXXX



Maybe your game is trying to use system ram as video ram? Have you tried using a -memrestrict commandline? Look it up.

I have almost the exact system, except with 8gb ram and a 2500k instead (also @4.5ghz) and I haven't experienced a single crash maybe ever, so don't give up.
PM
  Top
 

 
T-ru  
Posted: Wednesday, Sep 5 2012, 07:31
Quote Post


kamikadze
Group Icon
Group: Members
Joined: Sep 2, 2009

XXXXX



QUOTE (Brainsick @ Tuesday, Sep 4 2012, 23:47)
Try the 4gb patch:

http://www.ntcore.com/4gb_patch.php

Let us know how it works!


-edit- btw, you have to apply it to GTAIV.exe not launchgtaiv.exe. ALSO, keep those commandlines and add "-reserve 0" as well.

Thanks for this patch icon14.gif , im gonna try it.
Nice topic btw!!!
PM
  Top
 

 
naught405  
Posted: Wednesday, Sep 5 2012, 17:27
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Sep 2, 2012

XXXXX



QUOTE
Maybe your game is trying to use system ram as video ram? Have you tried using a -memrestrict commandline? Look it up.


Unfortunately no, in fact it doesn't even recognize shared video memory and only accesses dedicated video memory for graphical processing.
I have used the memrestrict commandline and I can set it to whatever I want but it doesn't affect the amount of video ram the game uses. The gtx580 is totally sufficient though so i'm not really worried about video memory. My main concern is that the executable is flagged as 'can use >2GB ram' but still crashes when it gets up to about 1.93GB memory used.

LAA is Set:
user posted image

memory usage:
user posted image

if GTAIV goes above ~1.9m then the game crashes
PM
  Top
 

 
luceberg  
Posted: Wednesday, Sep 5 2012, 20:17
Quote Post


Mack Pimp
Group Icon
Group: Members
Joined: Dec 27, 2008

XXXXX



How are you applying the commandlines?

Save it to the games folder as commandline, not commandline.txt.

Use -reservedApp 0 on it's own.
PM
  Top
 

 
Brainsick  
Posted: Wednesday, Sep 5 2012, 21:57
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Sep 10, 2011

XXXXX



What about disabling Clip Capture? as far as I know it alleviates the amount of ram usage.
PM
  Top
 

 
naught405  
Posted: Thursday, Sep 6 2012, 04:47
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Sep 2, 2012

XXXXX



QUOTE
How are you applying the commandlines?


using steam launch options

user posted image
PM
  Top
 

 
xDodox  
Posted: Thursday, Sep 6 2012, 20:11
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Sep 28, 2009

XXXXX



Works for me but after 2GB I get the memory leak.

user posted image
PM
  Top
 

 
mkey82  
Posted: Friday, Sep 7 2012, 06:20
Quote Post


Keep riding hard, son
Group Icon
Group: Members
Joined: Feb 14, 2008

Member Award




Are you quite sure you should be forcing this setting?
Every application is designed to use a certain amount of memory, the fact GTAIV at times like to go past something like 1.5GB is the memory leak (IMO.) In other words, if an application can use a lot for RAM, it doesn't mean it will.

I had made a number of tests on the subject and what I think goes on is that the game really lets loose on the RAM usage which in my case, after about an hour, led to performance problems. After checking the RAM usage it was closer to 2GB then it was to 1.5GB. If I loaded the game at that point, the memory usage would go down, back to 1.5GB, performance would improve a bit for another 45 minutes to an hour, then it went back where it was before reloading the savegame. Of course, it's to be expected that the game will trim it's memory usage a bit after reloading as it gets to free up some resources, but in this case I believe it related more to bad memory management.
Users WebsitePM
  Top
 

 
xDodox  
Posted: Friday, Sep 7 2012, 14:51
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Sep 28, 2009

XXXXX



I only reached the +2GB with " -nomemrestrict " . Without it's much better, cauz i don't get the memory leak.
PM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG