Rank: Member
Groups: Member
Joined: 3/21/2007(UTC) Posts: 5
|
Hi Board, I get lot of error messages in the Java Console while uploading files Code:Exception in thread "Image Fetcher 2" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Image Fetcher 1" java.lang.OutOfMemoryError: Java heap space
OutOfMemoryError catched in function getBufferedImageFromFile_ImageIO()
Total garbage collection started.
50x an even more What does they mean ? Is it possible that due of them sometimes uploaded Thumbails are only very small ? Version 2.1.1.0 Tested in Firefox 2.0.0.3 in Windows and OSX Thanks for any help Steve Edited by user Tuesday, December 18, 2007 4:14:57 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello Steve,
Such problems mean there were problem while reading thumbnails, as you see. You could do the following things to try to solve such a problem: - Make small thumbnails, i.e. 100x100 to allow Image Uploader get EXIF thumbnails if it is possible - Try to set different UploadThumbnailXXResizeQuality parameter values such as “Medium” and “High”. The reason of the problem is in using the standard image processing libraries of Java. We will make some changes in thumbnail generation mechanism in Image Uploader for Java 2.5 but we have not implemented them yet even for tests. |
|
|
|
|
Rank: Member
Groups: Member
Joined: 3/21/2007(UTC) Posts: 5
|
Hi Alex,
First of all sorry for my late Answer :)
This problem only happens on OSX Computers with JRE 1.4.2 or 1.5, i tried now to set an higher memory amount by setting the Following Java Runtime Parameter
-Xmx1024m
If i do this everything works fine.
Now my question is the following
Is there a way to launch a Java Applet via the Browser with such a Parameter ?
Many thanks an Greetings from Luxembourg ;)
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello,
There is a Java tab in Java Control Panel (Start->Control Panel->Java). There you will find Java Applet Runtime Settings section with View… button. Press it and you will see a list of Java Runtime Versions. I think you could change the Applet parameters from this list. |
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/3/2007(UTC) Posts: 6
|
Under what conditions can this out of memory error occur? I was under the impression, that files were swapped to disk to prevent this, is that not the case? There really is no way to prevent what types of images you are using since this is in the hands of the user.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, The problem with memory usually occur while Image Uploader tries to make upload thumbnails for large images. We will fix it further releases. Edited by user Friday, February 22, 2008 3:02:08 PM(UTC)
| Reason: Not specified |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.