Subject: Re: Libssh2: Memory Allocation Failure

Re: Libssh2: Memory Allocation Failure

From: Paul Romero <paulr_at_rcom-software.com>
Date: Thu, 09 Sep 2010 19:31:39 -0700

Hi Dan:

In your opinion, does using libssh_exit() at the end of a transaction
make a difference ?

Best Regards,

Paul R.

Dan Fandrich wrote:

> 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

--
Paul Romero
RCOM Communications Software
Phone/Fax: (510)339-2628
E-Mail: paulr_at_rcom-software.com
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-09-10