Page MenuHomeFeedback Tracker

Error when using the Arma 3 Launcher (System.OutOfMemoryException)
Assigned, NormalPublic

Description

Hello,
I am able to launch Arma 3 through the A3 Launcher, Arma3Sync, Swift, etc. but every time I open the Arma 3 Launcher it gives me an error:

Unexpected error occurred:
Exception of type 'System.OutOfMemoryException' was thrown.

Details are stored in a text file on your desktop.

This is the information in the error log

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Launcher
Steps To Reproduce
  1. Launch up Arma 3
  2. Wait about 30 seconds for it to crash
Additional Information
Arma 3 Launcher Exception Log
=============================

Arma 3 Launcher has encountered an unexpected error described below.
Sorry for the inconvenience.
Please report this on Arma 3 Feedback Tracker (http://feedback.arma3.com). Thanks to you we may fix the issue faster!

----------------------------
System information
----------------------------
Date:                2016-12-09 00:59:10 / 2016-12-08 19:59:10 -05
Current dir:         H:\Games\steamapps\common\Arma 3
AppData dir:         C:\Users\Charley\AppData\Local
Command line:        "H:\Games\steamapps\common\Arma 3\arma3launcher.exe" -nomod
Version:             1.5.139.565
CLR version:         4.0.30319.42000
OS Version:          10.0.14393.0 (Microsoft Windows NT 10.0.14393.0)
OS 64 bit:           True
Process 64 bit:      False
Personal dir:        I:\Documents
Culture:             en-GB
UI Culture:          en-US
Point of log:        Unhandled Exception

----------------------------
Exception
----------------------------
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.String.CreateString(SByte* value, Int32 startIndex, Int32 length, Encoding enc)
   at System.String..ctor(SByte* value, Int32 startIndex, Int32 length, Encoding enc)
   at UtilsCLI.Helpers.CharToString(RStringCT<char>* val)
   at SteamLayerWrap.SteamFileInfoWrap..ctor(SteamFileInfo* info)
   at SteamLayerWrap.SteamFileInfoArrayHelper.Transform(RefCountedArray<SteamFileInfo\,MemAllocD\,AutoArray>* list)
   at SteamLayerWrap.SteamFileInfoArrayHelper.Transform(Ref<RefCountedArray<SteamFileInfo\,MemAllocD\,AutoArray> const >* list)
   at SteamLayerWrap.ContentListChangedArgs..ctor(ListChangedArgs* args)
   at SteamLayerWrap.SteamAPIWrap.OnAddonContentChanged(SteamAPI* __unnamed000, Ref<Steam::ListChangedArgs>* args)
   at UtilsCLI.SignalToDelegateAdapter2<Steam::SteamAPI const &,Ref<Steam::ListChangedArgs> >.OnSignal(SignalToDelegateAdapter2<Steam::SteamAPI const \&\,Ref<Steam::ListChangedArgs> >* , SteamAPI* arg1, Ref<Steam::ListChangedArgs>* arg2)
   at Steam.SteamAPI.Simulate(SteamAPI* )
   at SteamLayerWrap.SteamAPIWrap.Simulate()
   at SharedResources.SteamAPIRunner.<Start>b__1(ISteamAPIWrap api)
   at Utils.LockedWrapper`1.Do(Action`1 action)
   at SharedResources.SteamAPIRunner.Start()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

----------------------------
Modules and assemblies
----------------------------
- mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
- arma3launcher, Version=1.5.139.565, Culture=neutral, PublicKeyToken=null; H:\Games\steamapps\common\Arma 3\arma3launcher.exe
- log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a; H:\Games\steamapps\common\Arma 3\Launcher\log4net.dll
- System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
- System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
- System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
- System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
- Utils, Version=1.5.139.565, Culture=neutral, PublicKeyToken=null; H:\Games\steamapps\common\Arma 3\Launcher\Utils.dll
- SharedResources, Version=1.5.139.565, Culture=neutral, PublicKeyToken=null; H:\Games\steamapps\common\Arma 3\Launcher\SharedResources.dll
- PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll
- PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll
- WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll
- System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll
- UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll
- UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationProvider.dll
- arma3launcher.resources, Version=1.5.139.565, Culture=en-US, PublicKeyToken=null; H:\Games\steamapps\common\Arma 3\Launcher\en-US\arma3launcher.resources.dll
- SharedResources.resources, Version=1.5.139.565, Culture=en-US, PublicKeyToken=null; H:\Games\steamapps\common\Arma 3\Launcher\en-US\SharedResources.resources.dll
- Microsoft.GeneratedCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null; (dynamic assembly)
- System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
- System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll
- SMDiagnostics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll
- PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll
- System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
- PresentationFramework-SystemCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemCore\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemCore.dll
- PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll
- System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll
- System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
- PresentationFramework-SystemXmlLinq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXmlLinq\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXmlLinq.dll
- SteamLayerWrap, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null; H:\Games\steamapps\common\Arma 3\Launcher\SteamLayerWrap.dll
- Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed; H:\Games\steamapps\common\Arma 3\Launcher\Newtonsoft.Json.dll
- System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll
- System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
- System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
- System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
- PresentationFramework-SystemData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemData.dll
- System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Caching\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Caching.dll

----------------------------
Assembly resolution
----------------------------
Resolving SharedResources.XmlSerializers, Version=1.5.139.565, Culture=neutral, PublicKeyToken=null
    requested by: unknown
    not resolved

Resolving SharedResources.XmlSerializers
    requested by: unknown
    not resolved

I reinstalled Arma 3 and tried verifying the cache, this doesn't help. I've also tried removing the "watched mods" folder and that didn't help. I also have A LOT of subscribed mods. There is a lot of room left on the hard drive that it is installed on though. I also installed the Microsoft .NET Framework 4.5.2 and Microsoft Visual C++ Redistributable for Visual Studio 2013 (x86 - vcredist_x86.exe) packages which did not help.

Event Timeline

Ex3s created this task.Dec 9 2016, 2:01 AM
Jawsh added a subscriber: Jawsh.Dec 9 2016, 2:53 AM

@Ex3s, for future reference please attach files (drag and drop) to the feedback tracker rather than pasting their contents.

razazel assigned this task to BISWizard.Dec 9 2016, 9:40 AM
razazel changed the task status from New to Assigned.

Hello,
sorry for the trouble. Could you please upload the Arma 3 Launcher logs? This is how you get it manually: http://arma.jiripolasek.com/howtos.html

The error in Launcher when processing the list of mods from Steam - it might be caused by having really lot of subscribed mods.

BISWizard updated the task description. (Show Details)Dec 9 2016, 10:14 AM
BISWizard edited Additional Information. (Show Details)
Ex3s added a comment.Dec 9 2016, 6:39 PM

Certainly

Hello Ex3s,
thank you for the logs. We're currently investigating the issue and putting together some tools to diagnose the issue you're experiencing.

Ex3s added a comment.Dec 13 2016, 4:58 PM

No problem. Could it be Sync with Six?

Ex3s added a comment.Dec 13 2016, 4:58 PM

I also have about 5 different hard drives so I'm not sure if an install or some other file being on another drive would affect it

Ex3s added a comment.EditedDec 13 2016, 4:59 PM

Also, after I deleted the launcher folder, I verified the cache and it said it was reacquiring 42 files.

When it is downloading the new files, it isn't doing any activity and it's at 0%


EDIT: Nevermind, it still says 0% but the progress in the first image is increasing

Hello,
I have a quick question: by any chance, did you disabled your paging files on all your drives?

Ex3s added a comment.EditedDec 13 2016, 5:47 PM

Hello,
I have a quick question: by any chance, did you disabled your paging files on all your drives?

Is this what you are talking about?

Ex3s added a comment.Dec 13 2016, 6:32 PM

Could it be the amount of mods I have?

Ex3s added a comment.Dec 13 2016, 7:10 PM

Well, everything works fine until I click on the mods tab. I'm guessing I have way too many.

Well, everything works fine until I click on the mods tab. I'm guessing I have way too many.

Hello again,
that is an important piece of information, thank you. Our testers runs the routine tests with 100-200 Workshop mods, which is about half the number of mods you have so it is certainly possible. But it still bothers me why the issue appeared only after 1.66 was released.

Hello,
I have a quick question: by any chance, did you disabled your paging files on all your drives?

The best way to determine that:

  1. Press Windows+R
  2. Write "msinfo32" and press enter. The window "System Information" appears.
  3. On the right side in the list are some rows related to memory. I'm interested in 3 of them: Total Virtual Memory, Available Virtual Memory and Page File Space

Would you be so kind and shared that numbers with us, please?

Sir.Smith added a subscriber: Sir.Smith.EditedDec 16 2017, 3:19 AM

I have the same problem with the error. and when i join a game my game crashes and says low memory when i never had this problem a few months ago.
Total Virtual Memory 7.91 GB
Available Virtual Memory 5.55 GB
Page File Space 0 bytes

i have the same issue

hello i have the same issue and i have no more than 15-16 mods

*Total Virtual Memory 20.2gb
*Available Virtual Memory 14.2gb
*Page File Space 4.25gb