Jump to content

Fatal error: Allowed memory size of 268435456 bytes exhausted ....


Recommended Posts

hi

i have this problem

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /home/rwcurtlx/public_html/classes/ProductSale.php on line 171

i have a dedicated server with 512 memory_limit but i dont understand this problem.

 

Can u help me?

Link to comment
Share on other sites

ecco i miei dati

Section Directive Info Value Core asp_tags Enables the use of ASP-like <% %> tags in addition to the usualtags. This includes the variable-value printing shorthand of <%= $value %>. Off  On Core file_uploads Whether or not to allow HTTP file uploads. Off  On Core include_path Specifies a list of directories where the require(), include(), fopen(), file(), readfile() and file_get_contents() functions look for files. The format is like the system's PATH environment variable: a list of directories separated with a colon in Unix or semicolon in Windows. Core memory_limit This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. Note that to have no memory limit, set this directive to -1. Core upload_max_filesize The maximum size of an uploaded file. Options & Information enable_dl   Off  On Options & Information max_execution_time This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 30. Options & Information max_input_time This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads. Options & Information max_input_vars This sets the maximum number of input variables allowed per request and can be used to deter denial of service attacks involving hash collisions on the input variable names. Session Handling session.save_path session.save_path defines the argument which is passed to the save handler. If you choose the default files handler, this is the path where the files are created. Defaults to /tmp.
 
Link to comment
Share on other sites

  • 3 weeks later...

I am having the same problem now and my webguy isnt able to correct it. When any of my customers go to check out an error message come sup saying the follwing

fatal error: allowed memory size 268435456 bytes exhausted (there is more to it but I understand that there is secure info in the error message. I need help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...