Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
tux10  
#1 Posted : Monday, March 26, 2007 3:38:46 AM(UTC)
tux10

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

Alex Makhov  
#2 Posted : Wednesday, March 28, 2007 9:10:29 PM(UTC)
Alex Makhov

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.

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

tux10  
#3 Posted : Sunday, April 1, 2007 7:08:36 PM(UTC)
tux10

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 ;)

Alex Makhov  
#4 Posted : Sunday, April 1, 2007 7:20:47 PM(UTC)
Alex Makhov

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.

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

davewolfs  
#5 Posted : Tuesday, May 1, 2007 10:06:14 PM(UTC)
davewolfs

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.
Alex Makhov  
#6 Posted : Sunday, May 6, 2007 1:44:51 PM(UTC)
Alex Makhov

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

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
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.