Handle large image files in an memory-efficient manner
See original GitHub issueProblem
-------
* Currently, Thumbnailator does not have good support for large image files.
For example, there is no protection against running out of memory, and this
behavior is completely dependent upon the JVM's memory settings.
Solution
--------
* Support tiled reading of image files, rather than reading the entire files at
once, as is implemented currently.
Complications
-------------
* Changes to support reading images by tiles will most likely lead to changes
to the API.
Original issue reported on code.google.com by coobird...@gmail.com
on 22 Sep 2010 at 4:28
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:16
Top Results From Across the Web
c# - Load large image with memory efficiency - Stack Overflow
I am loading an image onto a button using: theButton.BackgroundImage = Image.FromFile("file.png");. The issue is that my button is 128x128 and ...
Read more >Loading Large Bitmaps Efficiently - Android Developers
Choose the most appropriate decode method based on your image data source. These methods attempt to allocate memory for the constructed bitmap ...
Read more >What to Do When Your Data Is Too Big for Your Memory?
Another way to handle large datasets is by chunking them. That is cutting a large dataset into smaller chunks and then processing those...
Read more >Three Ways of Storing and Accessing Lots of Images in Python
Storing images on disk as .png files; Storing images in lightning memory-mapped databases (LMDB); Storing images in hierarchical data format (HDF5).
Read more >How to Read a Large File Efficiently with Java - Baeldung
The problem with this approach is that all the file lines are kept in memory – which will quickly lead to OutOfMemoryError if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Dear Chris/ @coobird . I suppose you (like myself) have little time for unpaid projects. Nonetheless, I cross my fingers and hope for some good news that somehow there will be progress on this issue soon. Any updates? Best Regards, Sean
Any news