linpeixun / thumbnailator

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

java.lang.OutOfMemoryError: Java heap space #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the test file. I got an ok from the first test method and 
OutOfMemoryError from the second method.
2.
3.

What is the expected output? What do you see instead?
Both ok.

What version of the product are you using? On what operating system? Which
version of Java (Sun/Oracle? OpenJDK?) ?
Window jdk 1.6.45

Please provide any additional information below.

Original issue reported on code.google.com by zhanhb88@gmail.com on 22 May 2013 at 8:01

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, we have faced this issue as well. With jdk 1.6.45, the thumbnail 
generation is slow and I can see frequent OutOfMemoryErrors. But with jdk 
1.6.25 and 1.7.0_17 the error does not occur. But the error only occurs when 
you pass file name only, and not ImageIO. 

Original comment by jain...@gmail.com on 22 May 2013 at 3:30

GoogleCodeExporter commented 9 years ago
Thank you for reporting this issue.

This appears to the same problem as Issue 42, so I will be merging this issue 
to that one.

Original comment by coobird...@gmail.com on 23 May 2013 at 12:25