[
https://issues.apache.org/jira/browse/HADOOP-18129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Owen O'Malley resolved HADOOP-18129.
------------------------------------
Fix Version/s: 3.4.0
3.3.3
Resolution: Fixed
I committed this. Thanks, Abhishek!
> Change URI[] in INodeLink to String[] to reduce memory footprint of
> ViewFileSystem
> ----------------------------------------------------------------------------------
>
> Key: HADOOP-18129
> URL: https://issues.apache.org/jira/browse/HADOOP-18129
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Abhishek Das
> Assignee: Abhishek Das
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0, 3.3.3
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Around 40k instances of INodeLink each of which is taking memory ranging from
> 1680bytes to 1160bytes. Multiplying 40k with 1160bytes will give us
> approximate 45mb.
> With changing from URI to String in INodeLink the memory consumed by each of
> the INodeLink objects has reduced from ~1160 bytes to ~320 bytes. Overall
> size becomes (40k X 320) 12mb
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]