You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/09/24 01:46:02 UTC

[GitHub] [incubator-doris] kangpinghuang opened a new issue #1852: memory is wasted heavily when init segment group

kangpinghuang opened a new issue #1852: memory is wasted heavily when init segment group
URL: https://github.com/apache/incubator-doris/issues/1852
 
 
   When init segment group, it will init the zone map and create WrapperField to manage the zone map's min/max. Now WrapperField use Arena to allocate dynamic memory for string type.
   When Arena's allocate() is called, it will directly new a BLOCK_SIZE(4k) memory, without considering the real required memory size.
   So when BE started and during initialization process, memory will be used heavily be WrapperField.
   This should be optimized.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org