lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] Commented: (LUCENE-2633) PackedInts does not support structures above 256MB
Date Wed, 08 Sep 2010 13:41:33 GMT


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:
>             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:
For additional commands, e-mail:

View raw message