Heath Putnam <hp@heathputnam.com> writes:
> Dear Scsh Maintainers,
>
> I'm trying to get my tftp server to work with the recent patch to
> network1.c
>
> I'm having other trouble related to memory now, and it seems
> proportional to the amount of bytes transferred.
>
> This is odd, -- I really think my program should run with bounded
> space (and not so much -- just the single buffer). I believe my
> program is tail-recrsive where it needs to be.
>
> I tried to isolate the problem to the reading, writing or socket I/O,
> but I was unsuccessful, so I'm providing the whole program.
I did not yet find the time to look at your program but I wanted to
point out that S48/scsh come with two tools for debugging problems
related to memory consumption. They are defined in the structures
SPATIAL and TRAVERSE. See the following page "Debugging with scsh" at
http://www.scsh.net/docu/debug.html for some more information.
--
Martin
|