Jump to content

Socket Memory Limit!?


d22552000

Recommended Posts

I get this error when trying to download a file from a URL using a script form PHPatm.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 67107842 bytes) in *\index.php on line 1647

 

My php.ini settings are below:

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 60     ; Maximum execution time of each script, in seconds
max_input_time = 120	; Maximum amount of time each script may spend parsing request data
memory_limit = 128M      ; Maximum amount of memory a script may consume (8MB)

;;;;;;;;;;;;;;;;;;;;;;;;

; Maximum size of POST data that PHP will accept.
post_max_size = 64M

 

I am not sure if there is a maximum memory size for sockets or something.. Please help me out here.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.