Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7706827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:12:30+00:00 2026-06-01T00:12:30+00:00

I am doing a file resizer feature, and when I use very high resolution

  • 0

I am doing a file resizer feature, and when I use very high resolution images, I get this fatal error:

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to
 allocate 8884 bytes) in /path/resizer.php on line 35

(resizer.php is the resizer class)
Then, when I use ini_set(‘memory_limit’, ’64MB’);

.. in front of the whole block: if (isset($_FILES….))
… And i get this fatal error:

 PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to 
allocate 8884 bytes) in path/resizerenter code here.php on line 35

Please note that the allocated memory has decreased while I requested an increase.
Please let me know if you know what is wrong.
Thanks a lot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T00:12:31+00:00Added an answer on June 1, 2026 at 12:12 am

    check the php.ini setting: memory_limit

    Maybe is already more than 64M. In case you can

       ini_set('memory_limit', '128M'); or 256...
    

    Operations with big images can happen to use huge memory!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello I'm doing file upload with Yii. I have implemented this way and it
I am doing a file server migration and I'm writing a small C# app
Ok, so I can print a PDF doing: pdf2ps file.pdf - | lp -s
I'm doing password based file encryption in Java; I'm using AES as the underlying
I am using an include file by doing: <!--#include virtual=/includes/leftNav.shtml--> I changed the include
I have a Windows C++ program that is doing something like: FILE* pf =
I'm trying to figure out what a Java applet's class file is doing under
im doing an application in which im transfering file through FTP.i succesfully done all
I'm used to doing all my coding in one C file. However, I'm working
I'm doing something really simple: slurping an entire text file from disk into a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.