You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Siddhant Goel <si...@gmail.com> on 2010/03/28 08:01:04 UTC
jmap output help
Hi everyone,
The output of "jmap -histo:live 27959 | head -30" is something like the
following :
num #instances #bytes class name
----------------------------------------------
1: 448441 180299464 [C
2: 5311 135734480 [I
3: 3623 68389720 [B
4: 445669 17826760 java.lang.String
5: 391739 15669560 org.apache.lucene.index.TermInfo
6: 417442 13358144 org.apache.lucene.index.Term
7: 58767 5171496
org.apache.lucene.index.FieldsReader$LazyField
8: 32902 5049760 <constMethodKlass>
9: 32902 3955920 <methodKlass>
10: 2843 3512688 <constantPoolKlass>
11: 2397 3128048 [Lorg.apache.lucene.index.Term;
12: 35 3053592 [J
13: 3 3044288 [Lorg.apache.lucene.index.TermInfo;
14: 55671 2707536 <symbolKlass>
15: 27282 2701352 [Ljava.lang.Object;
16: 2843 2212384 <instanceKlassKlass>
17: 2343 2132224 <constantPoolCacheKlass>
18: 26424 1056960 java.util.ArrayList
19: 16423 1051072 java.util.LinkedHashMap$Entry
20: 2039 1028944 <methodDataKlass>
21: 14336 917504 org.apache.lucene.document.Field
22: 29587 710088 java.lang.Integer
23: 3171 583464 java.lang.Class
24: 813 492880 [Ljava.util.HashMap$Entry;
25: 8471 474376 org.apache.lucene.search.PhraseQuery
26: 4184 402848 [[I
27: 4277 380704 [S
Is it ok to assume that the top 3 entries (character/integer/byte arrays)
are referring to the entries inside the solr cache?
Thanks,
--
- Siddhant
Re: jmap output help
Posted by Bill Au <bi...@gmail.com>.
Take a heap dump and use jhat to find out for sure.
Bill
On Mon, Mar 29, 2010 at 1:03 PM, Siddhant Goel <si...@gmail.com>wrote:
> Gentle bounce
>
> On Sun, Mar 28, 2010 at 11:31 AM, Siddhant Goel <siddhantgoel@gmail.com
> >wrote:
>
> > Hi everyone,
> >
> > The output of "jmap -histo:live 27959 | head -30" is something like the
> > following :
> >
> > num #instances #bytes class name
> > ----------------------------------------------
> > 1: 448441 180299464 [C
> > 2: 5311 135734480 [I
> > 3: 3623 68389720 [B
> > 4: 445669 17826760 java.lang.String
> > 5: 391739 15669560 org.apache.lucene.index.TermInfo
> > 6: 417442 13358144 org.apache.lucene.index.Term
> > 7: 58767 5171496
> > org.apache.lucene.index.FieldsReader$LazyField
> > 8: 32902 5049760 <constMethodKlass>
> > 9: 32902 3955920 <methodKlass>
> > 10: 2843 3512688 <constantPoolKlass>
> > 11: 2397 3128048 [Lorg.apache.lucene.index.Term;
> > 12: 35 3053592 [J
> > 13: 3 3044288 [Lorg.apache.lucene.index.TermInfo;
> > 14: 55671 2707536 <symbolKlass>
> > 15: 27282 2701352 [Ljava.lang.Object;
> > 16: 2843 2212384 <instanceKlassKlass>
> > 17: 2343 2132224 <constantPoolCacheKlass>
> > 18: 26424 1056960 java.util.ArrayList
> > 19: 16423 1051072 java.util.LinkedHashMap$Entry
> > 20: 2039 1028944 <methodDataKlass>
> > 21: 14336 917504 org.apache.lucene.document.Field
> > 22: 29587 710088 java.lang.Integer
> > 23: 3171 583464 java.lang.Class
> > 24: 813 492880 [Ljava.util.HashMap$Entry;
> > 25: 8471 474376 org.apache.lucene.search.PhraseQuery
> > 26: 4184 402848 [[I
> > 27: 4277 380704 [S
> >
> > Is it ok to assume that the top 3 entries (character/integer/byte arrays)
> > are referring to the entries inside the solr cache?
> >
> > Thanks,
> >
> >
> > --
> > - Siddhant
> >
>
>
>
> --
> - Siddhant
>
Re: jmap output help
Posted by Siddhant Goel <si...@gmail.com>.
Gentle bounce
On Sun, Mar 28, 2010 at 11:31 AM, Siddhant Goel <si...@gmail.com>wrote:
> Hi everyone,
>
> The output of "jmap -histo:live 27959 | head -30" is something like the
> following :
>
> num #instances #bytes class name
> ----------------------------------------------
> 1: 448441 180299464 [C
> 2: 5311 135734480 [I
> 3: 3623 68389720 [B
> 4: 445669 17826760 java.lang.String
> 5: 391739 15669560 org.apache.lucene.index.TermInfo
> 6: 417442 13358144 org.apache.lucene.index.Term
> 7: 58767 5171496
> org.apache.lucene.index.FieldsReader$LazyField
> 8: 32902 5049760 <constMethodKlass>
> 9: 32902 3955920 <methodKlass>
> 10: 2843 3512688 <constantPoolKlass>
> 11: 2397 3128048 [Lorg.apache.lucene.index.Term;
> 12: 35 3053592 [J
> 13: 3 3044288 [Lorg.apache.lucene.index.TermInfo;
> 14: 55671 2707536 <symbolKlass>
> 15: 27282 2701352 [Ljava.lang.Object;
> 16: 2843 2212384 <instanceKlassKlass>
> 17: 2343 2132224 <constantPoolCacheKlass>
> 18: 26424 1056960 java.util.ArrayList
> 19: 16423 1051072 java.util.LinkedHashMap$Entry
> 20: 2039 1028944 <methodDataKlass>
> 21: 14336 917504 org.apache.lucene.document.Field
> 22: 29587 710088 java.lang.Integer
> 23: 3171 583464 java.lang.Class
> 24: 813 492880 [Ljava.util.HashMap$Entry;
> 25: 8471 474376 org.apache.lucene.search.PhraseQuery
> 26: 4184 402848 [[I
> 27: 4277 380704 [S
>
> Is it ok to assume that the top 3 entries (character/integer/byte arrays)
> are referring to the entries inside the solr cache?
>
> Thanks,
>
>
> --
> - Siddhant
>
--
- Siddhant