Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

How to use -memrestrict to fix stuttering


Rockstar Toronto
 Share

Recommended Posts

Hi GTAF, I just recently purchased a new computer in the beginning of August with the intentions of playing games on it. It's an Asus brand N61JQ-A1, it has an i7 processor running on Windows 7, 4gb DDR3 ram, and an ATI Mobility Radeon HD 5730 with 1g of dedicated memory. I got GTA IV for it, installed it and the first time I played it I decided not to sign up a live profile so I could play the game right away. I was disappointed however when there were lags every now and again that paused the game for about a half second. I found out the cause of these lags was from hitting keys, I did a little research and was able to fix it. From that point on, it ran smoother than silk, there were no issues with it whatsoever. My graphics card is not powerful enough to play it on max settings, but it ran pretty decently with everything on medium. But a week or so ago I decided to set up a live account, it said in order to do that I needed to install an update through GFWL for the game, which I did. I installed it, restarted the computer and again was disappointed to find that now it lags again, except this time it is more of a skipping/stuttering type of an issue. It usually occurs when you are running or driving. I have searched tirelessly to find a solution to this problem. I have updated the drivers on my graphics card, I have set all my settings to low, I have used the memrestrict command lines supplied in this thread. Nothing works. All I have come up with is people saying if none of these thing work, then my PC can't handle it. I know this is 100% false, as I stated before, it ran the game flawlessly once before.

 

Please help. I don't know a whole lot about computers. I have searched and searched and searched some more and have come up with absolutely nothing that works. Any help would be very greatly appreciated.

 

Thanks in advance,

Brennan.

Link to comment
Share on other sites

I know beggars can't be choosy, but is there any other solutions to getting around that? I'd like to keep it with gfwl if at all possible.

 

Was the update I installed through gfwl the 1.0.7.0 patch, or do I need do install that separately?

 

Am I putting the commandlines in the correct folder? I went to OS C:, Program files(on mine theres two folders, one is titled just program files, the other has x86, which is how many files are in it, next to it, which is the one rockstar games is in) rockstar games, GTA IV and then I post it in that field. I got it there by creating a notepad file on my desktop named "commandline" and then dragging it into there the only command line in it is "-memrestrict 262144000".

 

I noticed that on my OS C: it says there's around 12gb free out of 116, which is odd because I haven't really have much installed on the computer. Could this be the cause of the stutters?

 

I have disabled Vsync and heard that if clip capture is disabled it should help, but it hasn't.

 

Also, It's hard to describe what is really happening when it stutters, but basically when your driving and running, it kind of slows down for a split second and then returns to normal, and it will do it over and over again. I'm not sure if it's a framerate skip or not. It also happens during benchmark tests.

Link to comment
Share on other sites

What hardware are we talking about here?

On my computer?

 

Asus N61JQ-A1 notebook

 

Intel core i7 processor

ATi Mobility Radeon HD 5730 w/ 1g VRAM

4gb DDR3 RAM

Windows 7 Home Premium

Link to comment
Share on other sites

Try using a larger number, like 786432000.

Hold the phone, I re-enabled Vsync and in addition with the command line, it seems to be running fairly stable (knock on wood). I'll have to play it more to see if it's going to work. Thanks for the help.

Link to comment
Share on other sites

Well, better not to mess with anything, but at first I though the commandline is not effective at all.

Link to comment
Share on other sites

Well, better not to mess with anything, but at first I though the commandline is not effective at all.

I guess I spoke too soon, the stutters are still present, although it seems that with the higher the number I use the less it seems to occur. Any suggestions?

Link to comment
Share on other sites

Well, better not to mess with anything, but at first I though the commandline is not effective at all.

 

This is more or less what's happening to me. This guy has the same laptop as I do and from what I understand he had patch 1.0.6.0 installed at the time of the video. I sent him a message asking him if he fixed it and what he did, but haven't gotten an answer back yet.

Link to comment
Share on other sites

Usually, the number will be

 

<VRAM amount in MB>*1024*1024 as the upper limit, but you will want to use a smaller value. Larger values cause stutter while lower values cause pop-up.

Link to comment
Share on other sites

Usually, the number will be

 

<VRAM amount in MB>*1024*1024 as the upper limit, but you will want to use a smaller value. Larger values cause stutter while lower values cause pop-up.

I don't believe as I'm getting any improvements at all from the commandlines. I've tried all of them, and I'm not getting any visible changes in the stuttering. Is there something wrong I'm doing with the placement of them? I go to my computer, OS (C:), Program Files, Rockstar Games, GTA IV and they are placed in there. I created it by saving a notepad file on my desktop and then dragging it into the GTA IV file. Is there something I'm doing wrong?

Link to comment
Share on other sites

As it seems to me, you are doing everything correctly.

 

Try using only "-benchmark". This switch should start the benchmark directly once you start the game.

Link to comment
Share on other sites

As it seems to me, you are doing everything correctly.

 

Try using only "-benchmark". This switch should start the benchmark directly once you start the game.

Yup that worked, loaded it up direct from the main menu then exited the game.

Link to comment
Share on other sites

OK, try using

 

 

-nomemrestrict -norestrictions

 

 

but do NOT jack up the settings, leave them as they are and apply these switches.

Link to comment
Share on other sites

OK, try using

 

 

-nomemrestrict -norestrictions

 

 

but do NOT jack up the settings, leave them as they are and apply these switches.

They seem to help, but it still doesn't solve the issue 100%. I have all my settings on medium, all the sliders are set to 20, vsync is on, and night shadows are off. Are the settings too high? It's currently using 305mb of 1010.

Link to comment
Share on other sites

Your settings should be fine.

Not sure if this helps or complicates things, but I got EFLC to see if that stutters too and it does, although they are not as frequent or as bad as on GTA IV.

Link to comment
Share on other sites

Try using these in sequence

 

 

-reservedApp 0 -memrestrict 1048576000

 

 

 

-reservedApp 0 -memrestrict 838860800

 

 

 

-reservedApp 0 -memrestrict 629145600

 

 

 

-reservedApp 0 -memrestrict 419430400

 

 

 

-reservedApp 0 -memrestrict 314572800

 

 

Link to comment
Share on other sites

Try using these in sequence

 

 

-reservedApp 0 -memrestrict 1048576000

 

 

 

-reservedApp 0 -memrestrict 838860800

 

 

 

-reservedApp 0 -memrestrict 629145600

 

 

 

-reservedApp 0 -memrestrict 419430400

 

 

 

-reservedApp 0 -memrestrict 314572800

 

I hate to say it, but no none of those helped much sorry. I even reloaded the game each time to make sure they went into effect. Anything else might work? I sent an email to R* tech support so hopefully i'll get a response back.

Link to comment
Share on other sites

It's ok, memrestitrict doesn't work for everyone. And you're supposed to start the game again after every commandline change.

Link to comment
Share on other sites

It's ok, memrestitrict doesn't work for everyone. And you're supposed to start the game again after every commandline change.

Hey man, I've got some good news. The guy from the link in the YouTube video replied to my message and sent me a command line that gets rid of the stutters, at least I played it for half an hour and didn't notice much any issues with it. It was a combination of these two: -refreshrate 31 -frameLimit 1. I never did get a response back from R* tech support, I wasn't counting on getting one but I never did. I'll have to see if this works on EFLC as well. I'll have to play it some more to find out if this is a valid solution, but either way I'll let you know in a couple days.

Link to comment
Share on other sites

Well, basically with this you are limiting your FPS hence limiting FPS fluctuation. Try setting the refresh rate of your screen instead of 31.

Link to comment
Share on other sites

Well, basically with this you are limiting your FPS hence limiting FPS fluctuation. Try setting the refresh rate of your screen instead of 31.

How do I do that?

Link to comment
Share on other sites

Find out your screen refresh rate in display properties > settings > advanced > monitor not sure for Vista/7 but look around in control panel. It's probably 60 Hz.

 

This refreshrate switch is very strange as using it improperly could cause damage to your screen. Using it as you stated above means you are forcing the screen to use a refresh rate that isn't supported which could have unwanted results. By definition it shouldn't be used as most people use it, but obviously it does something other then what is described in the readme.

Link to comment
Share on other sites

Find out your screen refresh rate in display properties > settings > advanced > monitor not sure for Vista/7 but look around in control panel. It's probably 60 Hz.

 

This refreshrate switch is very strange as using it improperly could cause damage to your screen. Using it as you stated above means you are forcing the screen to use a refresh rate that isn't supported which could have unwanted results. By definition it shouldn't be used as most people use it, but obviously it does something other then what is described in the readme.

I checked, it says that is is indeed refreshing at 60hz. Are you saying to switch the number in the commandline from 31 to 60?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.