Skip to content

Keep not original bitmaps in Disk Cache #25

@programmerr47

Description

@programmerr47

The intention of DiskCache is to keep original bitmaps, that are placed and loaded from server. But that is not fully safe, because image can be really really big and we will fall into OOM, while will try to get it from server, convert to bitmap and save it to cache.

For that we need to take an size of the bitmap first, understand, is it too big, and then while reading the input stream receive already compressed copy of it.

Still we will save an original bitmaps in most of cases. This is just an edge case :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions