vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Memory allocation limit in vBulletin (https://vborg.vbsupport.ru/showthread.php?t=199452)

toadtje 12-21-2008 07:26 PM

Memory allocation limit in vBulletin
 
Hello.

Getting this error in vBulletin:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 90000805 bytes) in /home/tommy/forum/includes/class_core.php on line 1806

To explain, I am trying to upload a 90mb attachment to my forum (its a sharing forum for video files).

The php.ini config I use in order to allow for bigger uploads are:

max_execution_time = 120 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 256M ; Maximum amount of memory a script may consume (16MB)
upload_max_filesize = 200M ; Maximum allowed size for uploaded files

Also, attachments are in file system not in database.

And I run vBulletin 3.6.8

Any hints as to getting rid of the memory allocation error above?

I appreciate any help :)

Kind regards
Tommy

Dismounted 12-22-2008 04:32 AM

Basically, the script wants more memory.

toadtje 12-22-2008 08:57 AM

Yeah I gathered that much.

But it shouldnt be necessary to raise the memory limit any further, should it? Its already at 256M.


All times are GMT. The time now is 11:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01021 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete