lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] New lwip user - large bss size


From: Ed Sutter
Subject: Re: [lwip-users] New lwip user - large bss size
Date: Thu, 12 Feb 2004 08:27:34 -0500

David,
You should be able to run "size" in the individual
file objects to better determine which file is
hogging your bss space.
Ed

> David Aldrich wrote:
> 
> Hi
> 
> I am a new user of lwip.  My target hardware is an embedded processor on an 
> FPGA.  I have been given an "unofficial"
> port of lwip for this processor by a third party.  The port and a small http 
> server application run successfully on a
> reference hardware design that has 1MB of data (i.e. not instruction) memory. 
>  However, the port will not run on our
> target hardware that has only 128KB of data memory.
> 
> Running the GNU size utility on our object file gives:
> 
>    text    data     bss     dec     hex filename
>  103422    1888  558012  663322   a1f1a test.out
> 
> So you can see that the bss (uninitialised global data) size is >500KB, which 
> is very large.  This is with a minimum
> application, so the data must be being mostly allocated for the port and lwip.
> 
> I would welcome any suggestions of how to find what is using this large 
> amount of memory.  Is there a standard .h file
> in lwip that defines sizes of buffers etc?
> 
> What are typical data requirements of lwip?
> 
> Thanks for any help you can provide.
> 
> David
> 
>       
> -----------------------------------------------------------------------------------------------------------
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/lwip-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]