System.Net.Sockets.SocketException: Not enough memory

Questions about Wine on Linux
Locked
nuk89
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2016 10:03 am

System.Net.Sockets.SocketException: Not enough memory

Post by nuk89 »

I have the following stack trace

System.IO.IOException: Unable to read data from the transport connection: Not enough memory. ---> System.Net.Sockets.SocketException: Not enough memory
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

Somehow it says that there is not enough memory which is clearly not the case.

Regarding my setup :
wine : 1.9.12
winearch = win32
Distro=ubuntu 16.04 x64
Windows Version = 7 ( don't know if it matters)

winetrick list-installed:
Using winetricks 20160425 - sha1sum: dcae61bee212ce79d810f45f4cb6a1e599b67ba8 with wine-1.9.12
corefonts
dotnet20sp1
dotnet20
dotnet30sp1
dotnet35
dotnet40
dotnet452
dotnet45
mfc42
msxml3
vcrun2005
vcrun2008
vcrun2010
vcrun2013
vcrun6sp6
vcrun6


I'm also running as root because i use the ping protocol. At some point i will put the user in the wheel group.
Now, for me, this error sounds like the skb is getting filled but I might be wrong . I tried to tweak the buffer size but with no outcome, same error appears.

I also don't see anything suspicious in the wine console.

Any suggestions regarding this ? any hints on how to debug it further ?
raluca85
Newbie
Newbie
Posts: 1
Joined: Sun Sep 18, 2016 10:12 am

Re: System.Net.Sockets.SocketException: Not enough memory

Post by raluca85 »

Where you able to find a solution for this ? I am also seeing this error when running my app on ubuntu 14.04 x64 using wine 1.8.3.
nuk89
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2016 10:03 am

Re: System.Net.Sockets.SocketException: Not enough memory

Post by nuk89 »

try increasing the tcp buffers(an example : http://www.cyberciti.biz/faq/linux-tcp-tuning/)


it seems that it can fix the issue.
Locked