[ 
https://issues.apache.org/jira/browse/SOLR-7475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15267615#comment-15267615
 ] 

Shawn Heisey commented on SOLR-7475:
------------------------------------

Even when this was working, it was showing a very low number.  What exactly is 
this number intended to reflect?  It definitely isn't the total memory 
allocated for everything related to the core, which IMHO makes the number 
useless to most Solr users.

I've got a Solr 4.7.2 server with four cores that show non-zero heap memory -- 
all the other cores show zero.  Here are those numbers:

51667601
122208433
97413812
97369157

The jconsole memory graph for this server shows the heap allocation bouncing 
between 5GB and 7GB.  If I click the "Perform GC" button in jconsole, then the 
heap drops to a little over 3GB.  Adding up all the "heap memory" numbers on 
the core overview pages reaches less than 400MB ... definitely nowhere near the 
total heap usage, even with all garbage removed.

In my opinion there are three viable options:
 * Rename the statistic to reflect what's actually being counted (probably very 
low-level Lucene structures)
 * Remove it entirely
 * Fix it so it counts all heap memory used by the core -- including Solr 
caches and other large memory structures.


> Value of Heap Memory Usage display
> ----------------------------------
>
>                 Key: SOLR-7475
>                 URL: https://issues.apache.org/jira/browse/SOLR-7475
>             Project: Solr
>          Issue Type: Bug
>          Components: UI, web gui
>    Affects Versions: 5.0
>         Environment: Windows 7 operating system, Solr-5.0, zookeeper-3.4.6
>            Reporter: Yeo Zheng Lin
>              Labels: memory, solr, ui
>         Attachments: Heap Memory Usage.png
>
>
> In the Solr-5.0 admin UI, select a collection, click on Overview. This will 
> show the statistics of the collection. 
> For the Heap Memory Usage, it is showing the value -1 instead of the Heap 
> Memory Usage for that collection. It was said to be working on the previous 
> versions of Solr, and in version 5.0 it was showing -1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to