You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2021/10/13 14:22:37 UTC

[Bug 65042] Adding pictures to workbook causes memory leak

https://bz.apache.org/bugzilla/show_bug.cgi?id=65042

--- Comment #6 from PJ Fanning <fa...@yahoo.com> ---
I think the issue is that we don't have a TempFilePackagePart that can
optionally be used instead of MemoryPackagePart.
https://poi.apache.org/apidocs/dev/org/apache/poi/openxml4j/opc/ZipPackage.html#createPartImpl-org.apache.poi.openxml4j.opc.PackagePartName-java.lang.String-boolean-

This would allow us to avoid using memory (while slowing things down by using
temp files).

The other issue is how to configure the code so that it can choose whether to
use MemoryPackagePart or TempFilePackagePart.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org