The GitHub Actions job "Fory CI" on fory.git/main has succeeded.
Run started by GitHub user chaokunyang (triggered by chaokunyang).

Head commit for run:
810943c24db7866bf4e57960c2fd8a3c1e4329fe / MNTMDEV 
<[email protected]>
fix(java): fix deflater memory leak (#3726)

## Why?

A large number of `Fory` instances on `COMPATIBLE` mode or large amount
and size object meta result in native memory leak.

Native memory allocated by `libzip.so` won't be cleaned unitl next GC,
making many `64M` memory chunks staying in memory space.



## What does this PR do?

Explicitly close native memory allocated by libzip.so.

Decompress method is fixed in #3472. Only compress method should be
fixed.



## Related issues



## AI Contribution Checklist



- [ ] Substantial AI assistance was used in this PR:  `no`
- [ ] If `yes`, I included a completed [AI Contribution
Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs)
in this PR description and the required `AI Usage Disclosure`.
- [ ] If `yes`, my PR description includes the required `ai_review`
summary and screenshot evidence of the final clean AI review results
from both fresh reviewers on the current PR diff or current HEAD after
the latest code changes.



## Does this PR introduce any user-facing change?



- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?

## Benchmark

Report URL: https://github.com/apache/fory/actions/runs/26766130199

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to