Re: [lwip-users] malloc limitation

2017-09-06 Thread Ran Shalit
On Wed, Sep 6, 2017 at 3:26 PM, Patrick Klos  wrote:
> On 9/6/2017 1:55 AM, Ran Shalit wrote:
>>
>> Hello,
>>
>> I porting lwip into uc/os, but noticed that lwip use malloc()
>> operation, and I have limitation with this OS, thet malloc is limited
>> to 4045.
>
>
> Is that 4045 bytes max per allocation?  Or 4045 bytes total allocatable
> space?

It is 4045 max bytes per allocation.

>
>> Does it mean that it might fail ?
>
>
> That depends on how you plan to use LwIP.

I use MTU 1500.

>
> Patrick

Thank you.
Ran

>
>
> ___
> lwip-users mailing list
> lwip-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/lwip-users

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] malloc limitation

2017-09-06 Thread Patrick Klos

On 9/6/2017 1:55 AM, Ran Shalit wrote:

Hello,

I porting lwip into uc/os, but noticed that lwip use malloc()
operation, and I have limitation with this OS, thet malloc is limited
to 4045.


Is that 4045 bytes max per allocation?  Or 4045 bytes total allocatable 
space?



Does it mean that it might fail ?


That depends on how you plan to use LwIP.

Patrick


___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users