lucene-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: (LUCENE-2633) PackedInts does not support structures above 256MB
Date Wed, 08 Sep 2010 13:41:33 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907211#action_12907211
] 

Mark Miller commented on LUCENE-2633:
-------------------------------------

Any objections to at least committing the fix (the casts are clearly needed) while we wait
and sort out the test? Appears to be a clear and simple bug, but the test issue is not so
clear and simple and looks like it could drag out the fix being applied here - but that doesn't
seem necessary?

> PackedInts does not support structures above 256MB
> --------------------------------------------------
>
>                 Key: LUCENE-2633
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2633
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: All
>            Reporter: Toke Eskildsen
>         Attachments: LUCENE-2633.patch
>
>
> The PackedInts Packed32 and Packed64 fails when the internal structure exceeds 256MB.
This is due to a missing cast that results in the bit position calculation being limited by
Integer.MAX_VALUE (256MB * 8 = 2GB).

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


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


Mime
View raw message