[
https://issues.apache.org/jira/browse/DIRECTMEMORY-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532491#comment-13532491
]
Hudson commented on DIRECTMEMORY-118:
-------------------------------------
Integrated in directmemory-trunk #361 (See
[https://builds.apache.org/job/directmemory-trunk/361/])
Fixed integer overflow DIRECTMEMORY-118 (Revision 1421991)
Result = SUCCESS
noctarius :
Files :
*
/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/MergingByteBufferAllocatorImpl.java
*
/directmemory/trunk/directmemory-cache/src/test/java/org/apache/directmemory/memory/allocator/MergingByteBufferAllocatorImplTest.java
> MemoryManager crashes on allocation of more than 300Mb or memory
> ----------------------------------------------------------------
>
> Key: DIRECTMEMORY-118
> URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-118
> Project: Apache DirectMemory
> Issue Type: Bug
> Components: core
> Affects Versions: 0.2
> Reporter: Prashant Sharma
> Assignee: Christoph Engelbert
> Fix For: 0.3
>
>
> Following code reproduces the bug.
> val cacheService = new DirectMemory[String, ArrayBuffer[Any]]()
> .setNumberOfBuffers(1)
> .setInitialCapacity(1)
> .setMemoryManager(new MemoryManagerServiceImpl(true))
> .setSize(300 *(1024*1024))
> .setConcurrencyLevel(1)
> .newCacheService();
--
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