[ https://issues.apache.org/jira/browse/FLINK-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108861#comment-15108861 ]
Gabor Gevay commented on FLINK-3266: ------------------------------------ Threads staying alive are the most apparent, but there is some memory as well (maybe about 200 KB per job). > LocalFlinkMiniCluster leaks resources when multiple jobs are submitted > ---------------------------------------------------------------------- > > Key: FLINK-3266 > URL: https://issues.apache.org/jira/browse/FLINK-3266 > Project: Flink > Issue Type: Bug > Components: Local Runtime > Affects Versions: 1.0.0 > Reporter: Gabor Gevay > Priority: Minor > > After a job submitted to a LocalEnvironment finishes, some threads are not > stopped, and are stuck in waiting forever. > You can observe this, if you enclose the body of the main function of the > WordCount example with a loop that executes 100 times, and monitor the thread > count (with VisualVM for example). > (The problem only happens if I use a mini cluster. If I use start-local.sh > and submit jobs to it, then there is no leak.) -- This message was sent by Atlassian JIRA (v6.3.4#6332)