cyforkk opened a new pull request, #3127: URL: https://github.com/apache/hugegraph/pull/3127
## Summary This PR adds support for chunking large task results to avoid memory overflow. ## Changes - Added `TASK_RESULT_CHUNK_SIZE` config option to `CoreOptions.java` (default 1MB) - Added `chunkKey()` and `isChunkedProperty()` helper methods to `P` class - Implemented chunked write in `asArray()` method - Added `RESULT_CHUNK_COUNT` constant ## Usage When the compressed result exceeds `task.result_chunk_size`, it will be split into multiple properties (`~task_result_0`, `~task_result_1`, ...). Set `task.result_chunk_size=0` to disable chunking (preserves original behavior). ## Related Part of issue #3071 (Chunk 1-4) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
