This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: malloc
- From: Sergei Organov <osv at topconrd dot ru>
- To: "Artem B. Bityuckiy" <abityuckiy at yandex dot ru>
- Cc: newlib at sources dot redhat dot com
- Date: 09 Feb 2004 19:04:44 +0300
- Subject: Re: malloc
- References: <40279F01.1060105@yandex.ru>
"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.