Re: [Q]
- From: Julian M Catchen <julian catchen org>
- To: balsa-list gnome org
- Subject: Re: [Q]
- Date: Sun, 27 Jan 2002 17:37:36 -0700
I am not sure how Balsa manages its memory, but you can change the size of
a memory segment to a larger or smaller one with realloc().
julian
On 2002.01.27 13:48 Pawel Salek wrote:
> On 2002.01.26 12:34 Emmanuel wrote:
>> Hi all,
>> I have a big mailbox (>3500 messages) and with top I see that when this
>> mailbox is opened balsa takes 16M. That's a lot but I checked the mbox
>> file, it is about 16M also, so I think it's OK. But if I close the
>> mailbox Balsa does not release the memory. Is it just because of how
>> the memory is managed by the kernel or glib, or is it bad practice from
>> us?
>
> I do not know of any way (apart from playing with brk) to shrink the
> memory segment extended by libc when calling malloc/calloc. The memory
> released with free() is available for subsequent malloc calls, though.
>
> -pawel
> _______________________________________________
> balsa-list mailing list
> balsa-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/balsa-list
>
--
mail : julian @ catchen.org | ( topeka )
www : http://catchen.org/topeka/ | phx, az
sent : Sun Jan 27, 2002 05:36PM MST |
And if cynics ridicule freedom, ridicule community...if "hard nosed
realists" say that profit is the only ideal...just ignore them, and use
copyleft all the same.
-- RMS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]