Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sebastian Dammark 583 posts 1407 karma points
    Dec 31, 2017 @ 13:02
    Sebastian Dammark
    0

    Out of Memory when saving images.

    I’m trying to save the capturetime from the EXIF data of an image to a property, when the MediaService is Saving. And I agree that the images can be quite large, around 5 - 7 Mb. But that’s the size of images if you want quality. Is there anything I can do ?

    The code is here: https://gist.github.com/sebastiandammark/3a9c52d094b8da15639de8debdb7d996

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Dec 31, 2017 @ 13:04
    Damiaan
    0

    Are you running on x64 server or a local machine? We had a similar issue which was solved when running an a server environment.

    Are you running on azure? The amount of memory turnover is limited on azure web apps.

  • Sebastian Dammark 583 posts 1407 karma points
    Dec 31, 2017 @ 13:05
    Sebastian Dammark
    0

    It's running on Umbraco Cloud, so yes Azure

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Dec 31, 2017 @ 16:07
    Damiaan
    0

    I would contact Umbraco support or post it in https://our.umbraco.org/forum/umbraco-cloud/

    But my best guess is, that it is the same issue as with azure web apps. If you wait a few hours and do one manipulation, do you still have the issue?

Please Sign in or register to post replies

Write your reply to:

Draft