-
-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of Memory Exception when resizing image #409
Comments
Hi @robertbaker I can see in your stacktrace you are running in Azure. (Thanks for that!) Are you running in 32bit mode? If so I cannot recommend that as you will too easily run out of contiguous memory. Cheers James |
Is there any way of detecting the maximum image size supported in 32bit instances so we can catch this? I'm having the same issue on 32bit azure and don't want to switch to 64bit |
No. I'm afraid not. You have a maximum amount of contiguous memory, 1Gb i think, in 32bit mode that is shared across any running applications. We work hard to limit our usage but can only ask out of what is available. I would never recommend running a website that did any image processing in 32bit mode. Why would you not want to switch? |
Thank you, I was running in 32bit, I switched to 64 bit mode and no problems. |
Prerequisites
DEBUG
andRELEASE
modeDescription
Steps to Reproduce
sizes used:
Width Height
360 202
540 303
720 404
1080 606
1440 808
750 422
1242 699
I used these images:
System Configuration
The text was updated successfully, but these errors were encountered: