You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (JIRA)" <ji...@apache.org> on 2019/06/27 05:47:00 UTC
[jira] [Commented] (CALCITE-3149) CACHE in RelDataTypeFactoryImpl
can't be garbage collected
[ https://issues.apache.org/jira/browse/CALCITE-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873834#comment-16873834 ]
Haisheng Yuan commented on CALCITE-3149:
----------------------------------------
We hit the OOM issue quite frequently in case of super large expression, with tons of RelDataType objects living in CACHE.
> CACHE in RelDataTypeFactoryImpl can't be garbage collected
> -----------------------------------------------------------
>
> Key: CALCITE-3149
> URL: https://issues.apache.org/jira/browse/CALCITE-3149
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Haisheng Yuan
> Assignee: Haisheng Yuan
> Priority: Major
> Labels: pull-request-available
> Attachments: screenshot-1.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Key and Value are pointing to the same object, with soft references, the item in CACHE will not be garbage collected. And it is causing the RelDataType is not reused.
> !screenshot-1.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)