mirszhao / thumbnailator

Automatically exported from code.google.com/p/thumbnailator
Other
0 stars 0 forks source link

This introduction snippet doesn't work. Am i missing somethig here? #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Thumbnails.of(new File("path/to/directory").listFiles())
        .size(640, 480)
        .outputFormat("jpg")
        .toFiles(Rename.PREFIX_DOT_THUMBNAIL);

What is the expected output? What do you see instead?
It should generate thumbnails but is giving "java.lang.OutOfMemoryError: Java 
heap space"

What version of the product are you using? On what operating system? Which
version of Java (Sun/Oracle? OpenJDK?) ?
thumbnailator : 0.4.3

Original issue reported on code.google.com by sash2k22...@gmail.com on 20 May 2013 at 3:57

GoogleCodeExporter commented 9 years ago
Hi,

This issue was caused by a problem reported in Issue 42, and has been addressed 
in Thumbnailator 0.4.4.

I will be merging this into Issue 42, as this is a duplicate.

Thank you for reporting this issue.

Original comment by coobird...@gmail.com on 23 May 2013 at 2:45