« Return to Thread: TCP uses to much memory with zero window?

Re: TCP uses to much memory with zero window?

by Ethernut :: Rate this Message:

Reply to Author | View in Thread

Bernd Walter wrote:

> Updating worked after a few minor compile time problems.
> System is runnning with 4.8.2.
> I have a bit more free RAM after the update :-)

We changed the direction. Unlike with previous upgrades we hope to be
able to reduce memory usage in newer versions. ;-)


> But the network problem is still there.
> I started with about 26k free and it went below 3k and finally the
> system hang.

I'm not sure that this is network related. After upgrading, you are now
able to dump heap usage.

Add

HWDEF+=-DNUTDEBUG_HEAP

to UserConf.mk (build and app tree) and rebuild everything. At specific
locations within your application call

NutHeapDump(<file-pointer>);

replacing <file-pointer> with your console stream, probably stdout.
You'll get a list of all allocated fragments, which will help to locate
the memory hole.

Harald

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

 « Return to Thread: TCP uses to much memory with zero window?