vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Memory Error (https://vborg.vbsupport.ru/showthread.php?t=178658)

Lombardo 05-09-2008 01:53 PM

Memory Error
 
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 667355020 bytes) in D:\inetpub\hosts\myurl\tpdocs\forum\arcade\functio ns\tar.php on line 797

How do i fix this?

Lombardo 05-11-2008 02:30 PM

This is when i try to install games.

anyone help please?

Gemma 05-11-2008 03:42 PM

You'll need to edit your php.ini file settings to something like

max_execution_time = 30 ; 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 = 128M ; Maximum amount of memory a script may consume (8MB)

or to temporarily up your limits edit your includes/config.php file and add these lines right under the <?php line:

ini_set('memory_limit', 128 * 1024 * 1024);

You may need to change the 128 to 256 or 512

See if that helps

Lombardo 05-11-2008 09:13 PM

where can i find the php.ini file? i can't seem to find it

Gemma 05-12-2008 01:27 PM

1 Attachment(s)
Your php.ini file is usually in your server's root directory - if you don't have full root access you'll need to contact your host - or make the changes to the includes/config.php file instead.

You can run the test.php file I've attached and it will give you all the information including file location and current maximum_limit. Just upload that into your forum root directory - the same information is also available via your AdminCP under the maintenance menu :)

Lombardo 05-12-2008 05:07 PM

When i edit the config file, i still get a memory error.

I'll see my host, see if he can edit the php.ini for me

Lombardo 05-16-2008 09:08 AM

I got my host to change the php.ini file but it's not made a difference.

Any other ways to solve this?

Davey-UK 08-31-2008 04:02 AM

Quote:

Originally Posted by Gemma (Post 1516222)

Up your limits edit your includes/config.php file and add these lines right under the <?php line:

ini_set('memory_limit', 128 * 1024 * 1024);

You may need to change the 128 to 256 or 512

See if that helps

Works like a charm, thanks:D

WildFire.ca 10-14-2008 09:07 PM

Gemma you rock, this worked just as you said it would. Thank you so much.
WFca

newguy 11-21-2008 11:14 AM

Quote:

Originally Posted by Gemma (Post 1516222)
You'll need to edit your php.ini file settings to something like

max_execution_time = 30 ; 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 = 128M ; Maximum amount of memory a script may consume (8MB)

or to temporarily up your limits edit your includes/config.php file and add these lines right under the <?php line:

ini_set('memory_limit', 128 * 1024 * 1024);

You may need to change the 128 to 256 or 512

See if that helps

I am going to try this. The temporary way that is...


All times are GMT. The time now is 11:17 AM.

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.01653 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete