Jump to content

RAM issues / Memory crash fix


Abzie

Recommended Posts

From the old forums:

Solve all your DLL issues here: https://github.com/fred41/tbbmalloc_arma
(Direct Download Link: https://github.com/fred41/tbbmalloc_arma/blob/master/binary/tbbmalloc.dll )

Copy to your DLL folder in Arma, then set your startup option in the Launcher or on your Shortcut to:
 

-malloc=tbbmalloc -maxMem=6144

6144 being 8gb of RAM minus 2gb to keep windows happy. Adjust your ram setting if you have more or less RAM available in your system.

Edited by [?] Abzie
Added direct download link
SV Paul, Google™, Leftie and 1 other like this
Link to comment
13 minutes ago, [?] Abzie said:

6144 being 8gb of RAM minus 2gb to keep windows happy. Adjust your ram setting if you have more or less RAM available in your system.

As a rule, it's always best to set maxMem to half of your RAM. There should be no serious consequence of not following this rule, but most optimization related guides recommend half.

2GB RAM = -maxMem=1024
4GB RAM = -maxMem=2048
8GB RAM = -maxMem=4096
16GB RAM = -maxMem=8192

https://steamcommunity.com/sharedfiles/filedetails/?id=385577681

The above link is a good guide for optimizing Arma 3, works like a charm for myself. Results may differ for others, though.

Edited by Creic
Typo
Link to comment
Just now, Creic said:

As a rule, it's always best to set maxMem to half of your RAM. There should be no serious consequence of not following this rule, but most optimization related guides recommend only half.

2GB RAM = -maxMem=1024
4GB RAM = -maxMem=2048
8GB RAM = -maxMem=4096
16GB RAM = -maxMem=8192

https://steamcommunity.com/sharedfiles/filedetails/?id=385577681

The above link is a good guide for optimizing Arma 3, works like a charm for myself. Results may differ for others, though.

Also to note, you cannot use higher maxMem values unless you use a custom memory allocator - like the one I posted - as the default mallocs only allow up to 2GB of RAM usage.

Edited by [?] Abzie
Cre likes this
Link to comment
1 hour ago, [?] Abzie said:

From the old forums:

Solve all your DLL issues here: https://github.com/fred41/tbbmalloc_arma
(Direct Download Link: https://github.com/fred41/tbbmalloc_arma/blob/master/binary/tbbmalloc.dll )

Copy to your DLL folder in Arma, then set your startup option in the Launcher or on your Shortcut to:
 


-malloc=tbbmalloc -maxMem=6144

6144 being 8gb of RAM minus 2gb to keep windows happy. Adjust your ram setting if you have more or less RAM available in your system.

 

Note: tbbmalloc prefers to use RAM in large pages (2048kB instead of 4kB).

The use of large pages requires the lock pages in memory privilege for the Arma user.

Make sure your Arma user account has this privilege set in your local security policies settings (secpol.msc, restart required).
If your user account, which you use to start Arma, is member of the administrator group, you have to start Arma as administrator.

Unfortunately, if you have Windows 10, you must have Windows 10 PRO or higher in order to edit the large page file setting.

Link to comment
4 hours ago, PwnCake said:

Having to do all this stuff to run a game like ARMA is so stupid. Why cant we just play games without all this mumbo jumbo stuff. Damn you BI

It's  simply downloading a file, copy it to your arma folder, then add some text to startup options you should have customised to suit your system already.

4 hours ago, Warbalin said:

I tried this and went from 20 fps on KOTH to 40 fps. Thanks! ^-^

Glad to hear it helped! Koth is never nice on the frames though :(

Link to comment
13 minutes ago, Leftie said:

Don't you now set the malloc in the launcher and not launch options?

There are 3 ways to set your startup parameters:

  1. Via Steam - Right-click Arma 3 in games list -> Properties -> General tab -> Set launch options
  2. Via the launcher - Parameters -> Basic tab -> Command Line Parameters (note, these can be passed from steam, as above)
  3. Via a shortcut - Right-click icon -> Properties -> Shortcut tab -> add your options at the end of the Target box, outside of the quotes (note, options set in steam or the launcher will be ignored and you cannot use a Steam shortcut** )

** A steam shortcut will have "steam://rungameid/107410" in the target box, rather than a traditional "C:/Program Files/Steam/xxxxxx/arma3.exe" entry.

Edited by [?] Abzie
Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...