[Gc] Re: Want to find reason of heap size keep growth
biosli at hotmail.com
Mon Jul 12 00:02:30 PDT 2010
biosli <biosli at ...> writes:
> Hi all,
> There is a further test for heap size growth.
> I checked GC_dump(), finding when heap size grows.
> I got the following warnings:
> GC Warning: Repeated allocation of very large block (appr. size 2305024):
> May lead to memory leak and poor performance.
> Then the heap size grows.
> I've used GC_MALLOC_ATOMIC_IGNORE_OFF_PAGE malloc large block(as bitmap
> data array, or string).
> Can you kindly advise how i can prevent this warning from happending?
> Thanks for all you help.
I print "Heap sections" as following(use GC_dump):
Section 18 from 00630000 to 00680000 0/320 blacklisted
Section 19 from 00680000 to 006D8000 0/352 blacklisted
Section 20 from 006E0000 to 00740000 0/384 blacklisted
Section 21 from 00740000 to 007AA000 0/424 blacklisted
Section 22 from 007B0000 to 00825000 0/468 blacklisted
Section 23 from 003B0000 to 0046A000 9/744 blacklisted
Section 24 from 00930000 to 009C3000 0/588 blacklisted
Section 25 from 009D0000 to 00A61000 1/580 blacklisted
Section 26 from 00A70000 to 00B44000 0/848 blacklisted
Section 27 from 00B50000 to 00D84000 8/2256 blacklisted
Section 28 from 00D90000 to 00FC3000 3/2252 blacklisted
Section 29 from 00FD0000 to 01204000 117/2256 blacklisted
Section 30 from 01210000 to 01443000 36/2252 blacklisted
Could you tell me what the number before "blacklisted" meaning? Is there have
correlation with large block malloc?
And if there are objects in blacklist, how can I find them? Can I print call
chain about that?
Thanks for all you help.
More information about the Gc