You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2020/01/30 13:35:00 UTC

[jira] [Commented] (CALCITE-3759) Class memory leak due to code generation

    [ https://issues.apache.org/jira/browse/CALCITE-3759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026688#comment-17026688 ] 

Stamatis Zampetakis commented on CALCITE-3759:
----------------------------------------------

Hey [~mikevm], I played around with your example and I don't observe any leak. It is normal that class loading is increasing but there does not seem to be somebody who holds references to these classes. If you ask for gc (you can do this via VisualVM or another tool) you can see that the classes are unloaded directly. 

> Class memory leak due to code generation
> ----------------------------------------
>
>                 Key: CALCITE-3759
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3759
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.21.0
>            Reporter: Mike Villa
>            Priority: Major
>         Attachments: image-2020-01-28-15-55-43-215.png
>
>
> Hi, I'm using calcite and I'm making unit test to see the perform, but with visualvm or jconsole I have checked a class leak. Maybe It's my fault.
> I would be grateful if someone helped me to find the error!
> I have created a GitHub project to check this error.
>  https://github.com/mvillafuertem/calcite-error.git
>  
> !image-2020-01-28-15-55-43-215.png!
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)