[ https://issues.apache.org/jira/browse/TWILL-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871248#comment-15871248 ]
Yuliya Feldman edited comment on TWILL-216 at 2/17/17 6:24 AM: --------------------------------------------------------------- Sorry for not adding more details sooner. Essentially at the moment Twill decides how much of the total requested memory to allocate to heap based on the hardcoded ratio of 0.7, meaning it will allocate at least 70% to heap. There could be applications that use direct memory quite a bit and they want to allocate more then 30% of total memory to be direct memory. This is a rational behind this JIRA. was (Author: yufeldman): Sorry for not adding more details soon. Essentially at the moment Twill decides how much of the total requested memory to allocate to heap based on the hardcoded ratio of 0.7, meaning it will allocate at least 70% to heap. There could be applications that use direct memory quite a bit and they want to allocate more then 30% of total memory to be direct memory. This is a rational behind this JIRA. > Make ratio between total memory and on-heap memory configurable > --------------------------------------------------------------- > > Key: TWILL-216 > URL: https://issues.apache.org/jira/browse/TWILL-216 > Project: Apache Twill > Issue Type: Improvement > Components: yarn > Reporter: Yuliya Feldman > Assignee: Yuliya Feldman > > As of now ratio between on-heap memory and total memory provided to yarn > container is hardcoded to 0.7, so if app running in the container needs more > reserved memory than on-heap it is not possible to achieve. > Suggestion is to make it configurable as well as amount of reserved memory -- This message was sent by Atlassian JIRA (v6.3.15#6346)