Subject: Re: Libssh2: Memory Allocation Failure

Re: Libssh2: Memory Allocation Failure

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 9 Sep 2010 15:16:32 -0700

On Wed, Sep 08, 2010 at 06:30:42PM -0700, Paul Romero wrote:
> After running the test program attached to this message
> for several hours under uCLinux on a Coldfire 5249 CPU
> the following memory allocation described below occurred.
> The system I ran the test on certainly has at least
> 2 MB spare memory and I don't understand the reason.

But is that 2 MB free memory contiguous? The lack of an MMU means that
even with that much free memory, an allocation of much less than that
amount can still fail if it's fragmented.

>>> Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-09-10