You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/10/19 11:29:00 UTC
[jira] [Closed] (FLINK-29578) Multiple executions of `runVertexCentricIteration` cause memory errors (flink gelly)
[ https://issues.apache.org/jira/browse/FLINK-29578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser closed FLINK-29578.
----------------------------------
Resolution: Won't Fix
Gelly has been removed, see FLINK-29668
> Multiple executions of `runVertexCentricIteration` cause memory errors (flink gelly)
> ------------------------------------------------------------------------------------
>
> Key: FLINK-29578
> URL: https://issues.apache.org/jira/browse/FLINK-29578
> Project: Flink
> Issue Type: Bug
> Components: Library / Graph Processing (Gelly)
> Affects Versions: 1.15.1
> Environment: * Flink 1.15.1
> * Java 11
> * Gradle 7.4.2
> Reporter: Shunyang Li
> Priority: Major
> Attachments: example.java
>
>
> When the runVertexCentricIteration function is executed twice it will throw an error:
> java.lang.IllegalArgumentException: Too few memory segments provided. Hash Table needs at least 33 memory segments.
>
> We solved this issue by setting the following configuration:
> ```
> VertexCentricConfiguration parameter = new VertexCentricConfiguration();
> parameter.setSolutionSetUnmanagedMemory(true);
> ```
>
> However, the execution times cannot be greater than 4 (>4). After executing four times it will throw an error: java.lang.IllegalArgumentException: Too little memory provided to sorter to perform task. Required are at least 12 pages. Current page size is 32768 bytes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)