You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Raghunandan (JIRA)" <ji...@apache.org> on 2017/06/15 07:36:00 UTC

[jira] [Created] (CARBONDATA-1179) Improve the Object Size calculation for Objects added to LRU cache

Raghunandan created CARBONDATA-1179:
---------------------------------------

             Summary: Improve the Object Size calculation for Objects added to LRU cache
                 Key: CARBONDATA-1179
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1179
             Project: CarbonData
          Issue Type: Bug
            Reporter: Raghunandan
            Priority: Minor


Java Object model has a bigger overhead when loading the objects into memory.
The current way of estimating the object size by looking at the file size is not correct and gives wrong results.Moreover due to this calculation, we are storing more than the configured size for LRU cache.

Improve the ObjectSize calculation by using the spark SizeEstimator utility



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)