[ 
https://issues.apache.org/jira/browse/SAMZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894985#comment-13894985
 ] 

Chris Riccomini commented on SAMZA-47:
--------------------------------------

One other note: a nice thing about this feature is that it mimics Xmx's 
behavior. This means container memory usage can be calculated by:

yarn.container.memory.mb = <your -Xmx setting> + 
stores.my-store.container.cache.size.bytes + <extra padding for permgen, VM, 
etc>

> LevelDB and L1 cache use the same configuration value in KeyValueStorageEngine
> ------------------------------------------------------------------------------
>
>                 Key: SAMZA-47
>                 URL: https://issues.apache.org/jira/browse/SAMZA-47
>             Project: Samza
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Jay Kreps
>            Assignee: Martin Kleppmann
>
> Both seem to key off of
>   cache.size
> This is not right. The L1 cache is caching a number of objects and leveldb is 
> allocating a number of bytes. In general the leveldb cache should be big 
> (tens of MBs) and the L1 cache small (a few thousand).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to