lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1242) The admin System handler returns bad JVM info
Date Wed, 24 Jun 2009 17:28:07 GMT

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

Mark Miller commented on SOLR-1242:
-----------------------------------

Nevermind. It is a round down issue. A bit over 3 gig in bytes just works out to round down
to 2gig I guess.

Anyway, when dealing with gb, just dropping the remainder (no round up) is not good. Rounding
in general is not great. Gimme at least one decimal point :)

I'll work up a patch.

> The admin System handler returns bad JVM info
> ---------------------------------------------
>
>                 Key: SOLR-1242
>                 URL: https://issues.apache.org/jira/browse/SOLR-1242
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> FileUtils.byteCountToDisplaySize has a funny way of converting. 
> runtime.maxMemory() : 2092236800 bytes
> commons-io display     : 1 GB
> Appears to be more than just a rounddown, because it will knock over 3 gig to 2 gig as
well. Odd stuff.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message