Shunyang Li created FLINK-29578:
-----------------------------------
Summary: 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
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)