Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] MixinModel->MixinCache waste an enormous amout of memory

But it doesnt mind if a cache size is fixed to X but why create already an Hashmap with that initial size??
Let it just grow a bit. For example start with at least X/10 if X > 1000 ... or something like that..



On Sun, Feb 22, 2009 at 04:55, Alex Panchenko <alex@xxxxxxxxx> wrote:
Hi Johan,

This cache have fixed size and this size is 250,000 entries at the moment.

Regards,
Alex

----- Original Message -----
From: "Johan Compagner" <jcompagner@xxxxxxxxx>
To: "DLTK Developer list" <dltk-dev@xxxxxxxxxxx>
Sent: Friday, February 20, 2009 8:05:27 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] MixinModel->MixinCache waste an enormous amout of memory


YourKit profiler tells me that it wast more then 10MB....

That i find a lot This is because the MixinCache has an hashtable that has space for 250000 entries.. But it has only in my case a actual size/count of 1600 ...
So there are a lot of emty spaces there. How did that one grow so big?

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top