Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid creating file in temp directory when using setIncludeBulkData(IncludeBulkData.URI) #1285

Open
sacheenPhilips opened this issue Jan 10, 2023 · 0 comments

Comments

@sacheenPhilips
Copy link

I am seeing an issue in the text masking code due to “IncludeBulkData.URI” being set in several places.
This flag will result in the metadata being stored in memory. The pixel data will get stored as BulkData in a temporary file on the disk in the system’s temporary folder (“tmp” in Ubunutu “%TEMP%” in Windows).

The temporary pixel data file doesn’t get autodeleted. Hence on the cloud, our app runs out of disk space and crashes. The temporary files can’t be manually deleted without causing other issues on the cloud due to various restrictions/limitations imposed by the cloud application framework.

I tried removing “IncludeBulkData.URI” to solve the issue but it results in text masking failing for compressed files.

Any help is appreciated to make text masking work without the “IncludeBulkData.URI” configuration or some other approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant