Jump to content

Out of Memory Exception


Nate Johns
 Share

Recommended Posts

Hi there,

Just starting out with the audio software.  Encountered an OutOfMemoryException.  The program crashed after hearing a constant static loop for a while.

I saved the error output.  Is it something I should post here?

Thanks!  Love how it sounds!

Nate Johns

 

"All things are difficult before they are easy."

- Dr. Thomas Fuller, Gnomologia, 1732

Link to comment
Share on other sites

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at NAudio.Utils.CircularBuffer..ctor(Int32 size)
   at NAudio.Wave.BufferedWaveProvider.AddSamples(Byte[] buffer, Int32 offset, Int32 count)
   at GeoVR.Client.CallsignSampleProvider.AddSilentSamples(IAudioDto audioDto)
   at GeoVR.Client.ReceiverSampleProvider.AddSilentSamples(IAudioDto audioDto, UInt32 frequency, Single distanceRatio)
   at GeoVR.Client.SoundcardSampleProvider.AddOpusSamples(IAudioDto audioDto, List`1 rxTransceivers)
   at GeoVR.Client.UserClient.TaskAudioPlayback(Logger logger, CancellationToken cancelToken, BlockingCollection`1 queue)
   at GeoVR.Client.UserClient.<Start>b__43_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AudioForVATSIM
    Assembly Version: 1.8.1.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Ninject
    Assembly Version: 3.3.4.0
    Win32 Version: 3.3.4.0
    CodeBase: file:///F:/VATSIM/Audio/Ninject.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Ninject.Extensions.Factory
    Assembly Version: 3.3.2.0
    Win32 Version: 3.3.2.0
    CodeBase: file:///F:/VATSIM/Audio/Ninject.Extensions.Factory.DLL
----------------------------------------
Castle.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.4.0
    CodeBase: file:///F:/VATSIM/Audio/Castle.Core.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GeoVR.Client
    Assembly Version: 1.1.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.DLL
----------------------------------------
DynamicProxyGenAssembly2
    Assembly Version: 0.0.0.0
    Win32 Version: 4.4.0
    CodeBase: file:///F:/VATSIM/Audio/Castle.Core.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
MetroFramework
    Assembly Version: 1.2.0.3
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
GeoVR.Shared
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Shared.DLL
----------------------------------------
netstandard
    Assembly Version: 2.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
SharpDX.DirectInput
    Assembly Version: 4.2.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
SharpDX
    Assembly Version: 4.2.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
NAudio
    Assembly Version: 1.9.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
GeoVR.Connection
    Assembly Version: 1.0.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
FSUIPCClient
    Assembly Version: 3.1.11.313
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
NLog
    Assembly Version: 4.0.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
Concentus
    Assembly Version: 1.1.6.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
System.Runtime
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Extensions.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 12.0.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
AutoUpdater.NET
    Assembly Version: 1.4.11.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
MetroFramework.Fonts
    Assembly Version: 1.2.0.3
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
RestSharp
    Assembly Version: 106.6.10.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
System.IdentityModel.Tokens.Jwt
    Assembly Version: 5.6.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
Microsoft.IdentityModel.Tokens
    Assembly Version: 5.6.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.IdentityModel.Logging
    Assembly Version: 5.6.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
Microsoft.IdentityModel.JsonWebTokens
    Assembly Version: 5.6.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
MessagePack.CryptoDto
    Assembly Version: 1.0.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
MessagePack.Annotations
    Assembly Version: 2.1.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.RuntimeInformation/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
System.Memory
    Assembly Version: 4.0.1.1
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
System.Memory
    Assembly Version: 4.0.1.1
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 4.0.6.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
MessagePack
    Assembly Version: 2.1.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
System.Reflection.Emit
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Reflection.Emit/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.Emit.dll
----------------------------------------
MessagePack.Resolvers.DynamicEnumResolver
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
MessagePack.Resolvers.DynamicUnionResolver
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
MessagePack.Resolvers.DynamicObjectResolver
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///F:/VATSIM/Audio/GeoVR.Client.dll
----------------------------------------
System.Buffers
    Assembly Version: 4.0.3.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
System.ValueTuple
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Reflection.Emit.ILGeneration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
NaCl.Core
    Assembly Version: 1.2.0.0
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
InputBox
    Assembly Version: 1.0.0.1
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------
XPlaneConnector
    Assembly Version: 1.1.6673.28421
    Win32 Version: 1.8.1.0
    CodeBase: file:///F:/VATSIM/Audio/AudioForVATSIM.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Nate Johns

 

"All things are difficult before they are easy."

- Dr. Thomas Fuller, Gnomologia, 1732

Link to comment
Share on other sites

22:00:59.144 Started
22:00:59.919 Client Started with 11
22:00:59.937 Loading airport database json
22:01:00.360 Airport database loaded
22:01:03.712 Client Started with 11
22:01:03.748 Attempting to find API Transceivers for ZAU_NT_OBS
22:01:03.878 No Transceivers from API Received
22:01:04.696 Updated Trans List
22:01:15.475 Updated Trans List
22:01:15.599 Client Started with 67
22:01:17.949 Client Started with 82
22:01:18.103 Updated Trans List
22:02:18.106 Updated Trans List
22:03:18.106 Updated Trans List
22:04:18.115 Updated Trans List
22:05:18.129 Updated Trans List
22:06:18.129 Updated Trans List
22:07:18.136 Updated Trans List
22:08:18.149 Updated Trans List
22:09:18.162 Updated Trans List
22:10:18.162 Updated Trans List
22:11:18.164 Updated Trans List
22:12:18.164 Updated Trans List
22:13:18.165 Updated Trans List
22:14:18.180 Updated Trans List
22:15:18.180 Updated Trans List
22:16:18.180 Updated Trans List
22:17:18.194 Updated Trans List
22:18:18.208 Updated Trans List
22:19:18.209 Updated Trans List
22:20:18.224 Updated Trans List
22:21:18.228 Updated Trans List
22:21:31.868 Updated Trans List
22:22:31.868 Updated Trans List
22:23:31.880 Updated Trans List
22:24:31.880 Updated Trans List
22:25:31.895 Updated Trans List
22:26:31.896 Updated Trans List
22:27:31.896 Updated Trans List
22:28:31.896 Updated Trans List
22:29:31.896 Updated Trans List
22:30:31.897 Updated Trans List
22:31:31.897 Updated Trans List
22:32:31.900 Updated Trans List
22:33:31.901 Updated Trans List
22:34:31.902 Updated Trans List
22:34:59.818 Client Disconnected with Closing

Nate Johns

 

"All things are difficult before they are easy."

- Dr. Thomas Fuller, Gnomologia, 1732

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...