JimageFilter Errors

Upload core product.
Post Reply
sdthomas
Posts: 14
Joined: Wed Jan 20, 2010 5:13 am

JimageFilter Errors

Post by sdthomas »

We've just been doing some testing on large quantity uploads 200+ images, roughly ranging 2mb - 8mb in size (originals from digital cameras).

I've setup the javascript JSAPI error function to alert any error messages generated.
During an upload of 218 images we got this error twice:
java.lang.NullPointerException

The 2 images were still uploaded but were'nt rescaled to 1024x800.

Any idea what this error is? Sounds to me like it failed to get the dimensions of the image correctly thus division by 0 or something.

On another upload we got this error 3 times:
Java heap space

Images were rescaled and uploaded.
Is this i client side memory allocation error?

Any help would be appreicated as my client wants to know what these errors are and if they can be avoided before he purchases an Enterprise Licence.

Another issue we had was that the overall progress bar didnt update, i'm assuming its because of the following:
200 files queued average 5mb each = total upload - 1024000kb
when resized to 1024*800 average <500kb each and uploaded is only a tiny percentage of the overall value above.
So maybe the progress bar calulations should be done differently when using the imagefilter plugin to compensate for this scenario?

Many Thanks
Simon

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: JimageFilter Errors

Post by support »

I guess you need to increase Java heap size (internal Java memory) by adding a parameter in applet. See FAQ to see which parameter to add:
http://www.jfileupload.com/products/jim ... aq.html#18
See #4

Post Reply