Hi Prashant!

You can set yarn.resourcemanager.max-completed-applicationsin yarn-site.xml of 
RM to limit the maximum number of apps it keeps track of (It defaults to 
10000). You're right that the Heap may also be increased.

HTH
Ravi




On Monday, October 21, 2013 5:54 PM, Prashant Kommireddi <prash1...@gmail.com> 
wrote:
 
Hello,

We are noticing the RM running out of memory in the webapp code. It happens in 
org.apache.hadoop.yarn.server.resourcemanager.webapp.AppsBlock.renderBlock(Block
 html).

The StringBuilder object "appsTableData" grows too large in this case while 
appending AppInfo. Ignoring the heap size (this should be fixed if I increased 
the heapsize for sometime), is there a way to configure the number of AppInfos 
that should be loaded? Or pagination?

Thanks,
Prashant

Reply via email to