Skip to content

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. #1428

@ibettio1

Description

@ibettio1

We have an application that receives phone calls (Linux), that's currently deployed to different environments on Kubernetes clusters (Azure). Lately we have been experiencing this exception for only one environment:

[17:42:39 ERR] Exception SIPUDPChannel EndReceiveFrom. Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Collections.Concurrent.ConcurrentQueueSegment1..ctor(Int32 boundedLength) at System.Collections.Concurrent.ConcurrentQueue1.EnqueueSlow(T item)
at SIPSorcery.SIP.SIPTransport.ReceiveMessage(SIPChannel sipChannel, SIPEndPoint localEndPoint, SIPEndPoint remoteEndPoint, Byte[] buffer)
at SIPSorcery.SIP.SIPUDPChannel.EndReceiveFrom(IAsyncResult ar)

Even though it's an OOM exception, the containers still have some memory available, usually around 20% free. This may be lacking in details, but does anyone have suggestions on where to look or what other information I could provide to help identify what's the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions