[
https://issues.apache.org/jira/browse/BLUR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443733#comment-13443733
]
Aaron McCurry commented on BLUR-15:
-----------------------------------
Yes I think this will work. I think that I would like to see the OOM exception
be caught in the blockcache where the total memory will be calculated. We
should warn about settings that don'e allow for even block creation "It also
seems like certain restrictions/invariants should be enforced, e.g. that
(slabSize % blockSize) = 0 and (totalMemory % slabSize) = 0". Also we need to
make sure the units tests are testing various values for all the variables.
> Change the Block Cache to allow for a configurable slab size
> ------------------------------------------------------------
>
> Key: BLUR-15
> URL: https://issues.apache.org/jira/browse/BLUR-15
> Project: Apache Blur
> Issue Type: Improvement
> Reporter: Aaron McCurry
>
> The current implementation of the block cache has a hard coded slab size of
> 128MB. This should be configurable so that unit testing can use the block
> cache at a smaller size.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira