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

Notification

Icon
Error

Options
Go to last post Go to first unread
sedmanphoto  
#1 Posted : Friday, July 1, 2011 11:17:27 AM(UTC)
sedmanphoto

Rank: Newbie

Groups: Member
Joined: 6/29/2009(UTC)
Posts: 5

When trying to upload large amount of images the java console returns an OutOfMemoryError.

Code:

\
Aurigma Image Uploader: warning: converter #0 was not applied for 699.JPG\
Aurigma Image Uploader: warning: converter #1 was not applied for 699.JPG\
Aurigma Image Uploader: uploading to http://myposturl...
Aurigma Image Uploader: using proxy: null\
Aurigma Image Uploader: warning: sending request without files.\
Aurigma Image Uploader: no cookies to send.\
Aurigma Image Uploader: error: fillThumbnailsForUpload() failed. \
exception java.lang.RuntimeException thrown.\
<<<<<<<<<<<<<<<<\
java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space\
	at com.aurigma.imageuploader.imaging.a.a.a.e(Unknown Source)\
	at com.aurigma.imageuploader.imaging.a.e.a(Unknown Source)\
	at com.aurigma.imageuploader.upload.z.a(Unknown Source)\
	at com.aurigma.imageuploader.upload.q.a(Unknown Source)\
	at com.aurigma.imageuploader.upload.q.a(Unknown Source)\
	at com.aurigma.imageuploader.upload.ab.a(Unknown Source)\
	at com.aurigma.imageuploader.upload.ac.run(Unknown Source)\
	at java.lang.Thread.run(Thread.java:655)\
>>>>>>>>>>>>>>>>\
\



The Machine is running OSX 10.5.8 with the new version of java.
Processor Name: Quad-Core Intel Xeon
Processor Speed: 2.8 GHz
Number Of Processors: 2
Memory: 4 GB

Browser is the new version of Safari.

ImageUploader is 7.0.28

I have filesPerPackage set to 1.


Thanks.

Edited by user Friday, July 1, 2011 11:18:02 AM(UTC)  | Reason: Not specified

Dmitry.Obukhov  
#2 Posted : Monday, July 4, 2011 3:08:39 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Stephen,

Could you provide me with additional information on this problem:
  1. if it is possible, please give me a link to your site where this problem occurs. If not, please share a code snippet with Image Uploader configuration settings;
  2. please send me a test image you use.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
sedmanphoto  
#3 Posted : Tuesday, July 5, 2011 6:32:42 AM(UTC)
sedmanphoto

Rank: Newbie

Groups: Member
Joined: 6/29/2009(UTC)
Posts: 5

Settings:
Code:

<script src="Scripts/aurigma.uploader.min.js" type="text/javascript"></script>
<script src="Scripts/aurigma.uploader.installationprogress.min.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
(function () {
    var u = $au.uploader({
        id: "Uploader1"
    });
    u.set({
        activeXControl: {
            codeBase: 'Scripts/ImageUploader7.cab',
            codeBase64: 'Scripts/ImageUploader7_x64.cab'
        },
        addFilesProgressDialog: {},
        authenticationDialog: {},
        cancelUploadButtonImageFormat: '',
        events: {
            preRender: [function () {
                var u = this,
                    ip = new $au.installationProgress(u);
                ip.commonHtml('');
                ip.instructionsCssClass('ip-instructions');
                ip.progressCssClass('ip-progress');
                ip.progressHtml('Loading Uploader...');
                ip.progressImageUrl('scripts/installation_progress.gif');
            }],
            uploadFileCountChange: [Uploader1_UploadFileCountChange]
        },
        contextMenu: {},
        converters: [{
            mode: '*.*=Thumbnail',
            thumbnailHeight: 125,
            thumbnailJpegQuality: 85,
            thumbnailWidth: 125
        }, {
            mode: '*.*=Thumbnail',
            thumbnailHeight: 1800,
            thumbnailJpegQuality: 85,
            thumbnailWidth: 1800
        }],
        deleteFilesDialog: {},
        descriptionEditor: {},
        detailsViewColumns: {},
        enableDescriptionEditor: false,
        enableImageEditor: false,
        enableRotation: false,
        folderPane: {
            filterClearIconImageFormat: ''
        },
        folderProcessingMode: 'Upload',
        height: '450px',
        id: 'Uploader1',
        imageEditor: {
            cancelButtonImageFormat: '',
            cancelCropButtonImageFormat: '',
            cropButtonImageFormat: '',
            rotateButtonImageFormat: '',
            saveButtonImageFormat: ''
        },
        informationBar: {
            closeIconImageFormat: ''
        },
        javaControl: {
            codeBase: 'Scripts/ImageUploader7.jar'
        },
        licenseKey: 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX',
        messages: {},
        metadata: {},
        paneFont: '',
        paneItem: {
            descriptionAddedIconImageFormat: '',
            descriptionEditorIconImageFormat: '',
            imageCroppedIconImageFormat: '',
            imageEditorIconImageFormat: '',
            qualityMeter: {},
            removalIconImageFormat: '',
            rotationIconImageFormat: ''
        },
        paneLayout: 'OnePane',
        restrictions: {
            fileMask: '*.jpg;*.jpeg'
        },
        statusPane: {},
        titleFont: '',
        treePane: {},
        uploadButtonImageFormat: '',
        uploadPane: {
            dropFilesHereImageFormat: '',
            dropFilesHereText: 'Drag files you want to upload or use the buttons above to add images.\n Once all of your images for your upload are here click the \'Start Upload\' button below'
        },
        uploadProgressDialog: {},
        uploadSettings: {
            actionUrl: '/imageuploader/process.php',
            autoRecoveryMaxAttemptCount: 100,
            filesPerPackage: 1,
            redirectUrl: '/imageuploader/afterUpload.php'
        },
        width: '100%'
    });
    u.metadata().addCustomField('__COOKIE04EFC7C1758744E1847E17ED90E00C80', 'PHPSESSID=36ngn24j6dalkeogr5isa6bic7')
    u.writeHtml();
})();
//]]>
</script>


2.) As for the image, I was uploading a total of 937 images and the upload started to fail on image 690.
Dmitry.Obukhov  
#4 Posted : Tuesday, July 5, 2011 9:15:46 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Stephen,

Thank you for these details.
Quote:
2.) As for the image, I was uploading a total of 937 images and the upload started to fail on image 690.

Please let me know information on images you upload:
  1. average size and width/height of each image;
  2. total size of all 937 images;
  3. size and width/height of image 699.jpg. It would be great if you attach it to this post.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
sedmanphoto  
#5 Posted : Wednesday, July 6, 2011 4:53:51 AM(UTC)
sedmanphoto

Rank: Newbie

Groups: Member
Joined: 6/29/2009(UTC)
Posts: 5

Dmitry.Obukhov wrote:
  1. average size and width/height of each image;
  2. total size of all 937 images;
  3. size and width/height of image 699.jpg. It would be great if you attach it to this post.

  1. The average size of the images is 12 MB (max size is 20 MB) The average width/height is 3744x5616
  2. total size of all 937 images is 11,935,012,524 bytes
  3. I chose 699.jpg at random from the list of errors, the upload started to fail on 690. Size is 690 is 12.3 MB width: 3744 Height: 5616
Dmitry.Obukhov  
#6 Posted : Wednesday, July 6, 2011 10:08:48 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Stephen,

Thank you very much for information on files. I replicated this issue with your image on our testing Mac machine. I got the same exception even uploading only one image.
I reported about this problem to our developers. They will work on this problem, and I will let you know about our results. Sorry for the inconvenience.

I searched a workaround. I decreased the size of thumbnails, but it did not resolve it. One way only is to upload source files instead of big thumbnails:
Code:
…
converters: [{
            mode: '*.*=Thumbnail',
            thumbnailHeight: 125,
            thumbnailJpegQuality: 85,
            thumbnailWidth: 125
        }, {
            mode: '*.*=SourceFile'
        }],
…

P.S. Could you please send me a couple of images which were uploaded successfully before 690.jpg.

Edited by user Wednesday, July 6, 2011 10:09:21 PM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Dmitry.Obukhov  
#7 Posted : Thursday, July 7, 2011 1:11:50 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Could you please provide me with additional information on this problem? Please open the page with Image Uploader, open Java console, press button with“m” letter, copy information about usage memory, and send it me. You can post it here.

Also, please try to upload only one image 690.jpg – whether the problem occurs. If so, please clarify how often it happens (always or in some cases).

Edited by user Thursday, July 7, 2011 1:12:29 AM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Dmitry.Obukhov  
#8 Posted : Thursday, July 7, 2011 10:53:34 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello,

Could you submit a new support ticket, and post details there?
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
sedmanphoto  
#9 Posted : Friday, July 8, 2011 5:46:14 AM(UTC)
sedmanphoto

Rank: Newbie

Groups: Member
Joined: 6/29/2009(UTC)
Posts: 5

Thank you for your response.

Support Ticket Sent.
Alex Kon  
#10 Posted : Sunday, July 10, 2011 10:16:16 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
OK, I see it. Thank you for your collaboration. We passed the issue to our developers.

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