Re: WSAENOBUFS on winsock client application



Your ideas make sense. I also was thinking about this weird fact, but then I
did an assumption, that a call to WSARecv on given thread just reaches
memory limit for a given process, but the rest requests (on different
thread/connections) goes well because they consume less memory.

I see where you're coming from...

In user mode 90 % of all errors 'WSAENOBUFS' are arised just because simple
memory allocation fails. But I think if request goes to appropriate protocol
provider (say, \Device\Tcp) and provider is unable to allocate non-paged
pool memory the same error is passed to user mode.

A pity that we can't differentiate between the two kinds :(

Len Holgate
http://www.lenholgate.com
Free C++ IOCP server framework available here: http://www.lenholgate.com/archives/000637.html
.



Relevant Pages

  • Re: WSAENOBUFS on winsock client application
    ... memory limit for a given process, but the rest requests (on different ... thread/connections) goes well because they consume less memory. ... or locked pages limits than simple memory allocation? ... provider and provider is unable to allocate non-paged ...
    (microsoft.public.win32.programmer.networks)
  • RE: FormsAuthentication and "unable to validate data": HELP!
    ... What DB and provider do you use? ... We had some memory leaks when using Oracle DB with Oracle's own dataprovider. ... > I phoned hosting provider B with this question. ... > say hosting provider B gives me medium trust, while I got full trust on A. ...
    (microsoft.public.dotnet.framework.aspnet)
  • 64-bit: Memory issue with Oracle Provider for OLE DB
    ... When executing "SELECT INTO" queries from linked Oracle servers using the ... Is there a OLE DB Provider for Windows 2003 ... Datacentre Server 64-bit ia64? ... Is there a fix for the memory leak on the ...
    (microsoft.public.data.oledb)
  • ATL OLEDB provider memory leak
    ... I have written an OLEDB data provider using the ATL templates. ... suffers from a memory leak. ... Everything points toward a memory leak within the ATL code - does anybody ...
    (microsoft.public.vc.atl)
  • Does .NET Framework Data Provider for Oracle also have a CacheType feature like OraOLEDB?
    ... Does MS supplied .NET Framework Data Provider for Oracle also have ... OraOLEDB provides two caching mechanisms: ... mechanism provides better performance at the expense of higher memory ...
    (microsoft.public.dotnet.framework.adonet)