This repository was archived by the owner on Sep 4, 2025. It is now read-only.
Open
Conversation
|
使用这个配置后在临时目录里产生大量临时文件,在释放资源时临时文件并没有被删除 |
mengnankkkk
reviewed
Jul 4, 2025
| public static void useTempFilePackageParts(boolean tempFilePackageParts) { | ||
| ZipPackage.setUseTempFilePackageParts(tempFilePackageParts); | ||
| } | ||
|
|
There was a problem hiding this comment.
应该也有使用完删除临时文件的处理,然后将内存中的图片也删除。使用完强制执行
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增使用临时文件的选项,避免大量图片导出时OOM
默认为false,图片全部放在内存中