Hi,
i wonder if someone could help me. I am working on the win2k passthru
sample. I modified the MpSend and PtRecievePacket functions to make a copy
of the incoming and outgoing packets and then send them on their way (up or
down as the case may be). Now this works very well for pings, ftp
,telnet,small files and even LAN games. I can send a couple of hundred pings
and no problem however if i try to receive a large file (>8Mb) pretty soon
the driver cannot allocate any memory (i am using NdisAllocateMemoryWithTag)
at the recieving end.
i should mention that i free the buffers before the packet is freed in the
passthru sample. is there a memory leak somewhere?? any suggestions would
be much appreciated.thanx in advance.
Regards
yasser
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
Have you already tried the “Pooltag” uitility ?
----- Original Message -----
From: “Yasser Toor”
To: “NT Developers Interest List”
Sent: Saturday, January 25, 2003 7:40 AM
Subject: [ntdev] Memory Leak??
>
>
>
> Hi,
> i wonder if someone could help me. I am working on the win2k passthru
> sample. I modified the MpSend and PtRecievePacket functions to make a copy
> of the incoming and outgoing packets and then send them on their way (up
or
> down as the case may be). Now this works very well for pings, ftp
> ,telnet,small files and even LAN games. I can send a couple of hundred
pings
> and no problem however if i try to receive a large file (>8Mb) pretty soon
> the driver cannot allocate any memory (i am using
NdisAllocateMemoryWithTag)
> at the recieving end.
> i should mention that i free the buffers before the packet is freed in the
> passthru sample. is there a memory leak somewhere?? any suggestions would
> be much appreciated.thanx in advance.
> Regards
> yasser
>
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@compaqnet.be
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>