This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: malloc


"Artem B. Bityuckiy" <abityuckiy@yandex.ru> writes:

> Hello.
> 
> Can anybody give me a hint how to get Heap size *when using Newlib*. There is
> no such POSIX call. I need some hack to be shure that my program doesn't eat
> memory.

I guess malloc_stats()/mallinfo() could help.

-- 
Sergei.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]