Fatal error: Allowed memory size of 8388608 bytes exhausted

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • basa
    Senior Member
    • Jan 2002
    • 421
    • 3.0.0 Beta 4

    Fatal error: Allowed memory size of 8388608 bytes exhausted

    After I do work on my forum, such as exporting attachments or when I did the thumbnails, I get this error,

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2 bytes) in [full path to]/forums/includes/functions_postbit.php(437) : eval()'d code on line 21

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes) in Unknown on line 0

    Is this indicative of a bigger problem, or will it happen only when I do this huge work?? I had to reboot the server.
    Sebastián J. Bianchi

  • Scribble
    New Member
    • Jun 2003
    • 4

    #2
    I get this error quite often, which is odd, since the server is awesome and should easily have enough memory to run the board.

    Comment

    • basa
      Senior Member
      • Jan 2002
      • 421
      • 3.0.0 Beta 4

      #3
      Originally posted by Scribble
      I get this error quite often, which is odd, since the server is awesome and should easily have enough memory to run the board.
      Mine is too, well it's a 2.ghz with 1 gb of memory. Surely enough to run ONE forum, right? (which is all I have). My forum isn't even that huge, around 80 on line at a time, and 2500 members.
      Sebastián J. Bianchi

      Comment

      • Scott MacVicar
        Former vBulletin Developer
        • Dec 2000
        • 13286

        #4
        open php.ini

        look for
        memory_limit = 8M

        change this to

        memory_limit = 16M

        You'll find that a few things are memory intensive, rather than processor intensive. Increasing the limit and restart apache will fix this.

        Note: You need to restart Apache after making any changes to php.ini.
        Scott MacVicar

        My Blog | Twitter

        Comment

        • basa
          Senior Member
          • Jan 2002
          • 421
          • 3.0.0 Beta 4

          #5
          Ok, done, hopefully that'll take care of it. Thanks.
          Sebastián J. Bianchi

          Comment

          • Scribble
            New Member
            • Jun 2003
            • 4

            #6
            Stupid question, but where does one find php.ini? I can't seem to locate it.

            Comment

            • Scott MacVicar
              Former vBulletin Developer
              • Dec 2000
              • 13286

              #7
              in shell type

              locate php.ini

              it varies depending on operating system and path PHP was installed to.
              Scott MacVicar

              My Blog | Twitter

              Comment

              • basa
                Senior Member
                • Jan 2002
                • 421
                • 3.0.0 Beta 4

                #8
                Hum... well now I get this error,

                Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 35 bytes) in /[path to]/forums/includes/functions_forumslist.php on line 62

                Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 0 bytes) in Unknown on line 0

                Do I need MORE memory allocated??
                Sebastián J. Bianchi

                Comment

                • Scott MacVicar
                  Former vBulletin Developer
                  • Dec 2000
                  • 13286

                  #9
                  how many forums and usergroups do you have?
                  Scott MacVicar

                  My Blog | Twitter

                  Comment

                  • basa
                    Senior Member
                    • Jan 2002
                    • 421
                    • 3.0.0 Beta 4

                    #10
                    Originally posted by Scott MacVicar
                    how many forums and usergroups do you have?
                    32 forums, the default user groups (members, moderators, waiting, banned, etc) plus 1 user group I created (paid member).

                    Total stats are;

                    Members: 2,776, Threads: 18,898, Posts: 162,023
                    Sebastián J. Bianchi

                    Comment

                    • Scott MacVicar
                      Former vBulletin Developer
                      • Dec 2000
                      • 13286

                      #11
                      can you pm me a link to your board. Also what page were you viewing?
                      Scott MacVicar

                      My Blog | Twitter

                      Comment

                      • basa
                        Senior Member
                        • Jan 2002
                        • 421
                        • 3.0.0 Beta 4

                        #12
                        Originally posted by Scott MacVicar
                        can you pm me a link to your board. Also what page were you viewing?
                        Ok sent you a pm.
                        Sebastián J. Bianchi

                        Comment

                        • basa
                          Senior Member
                          • Jan 2002
                          • 421
                          • 3.0.0 Beta 4

                          #13
                          Originally posted by basa
                          Ok sent you a pm.
                          Humm... users report getting this error still... any ideas? Scott?

                          I just got it again,

                          Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate
                          67195 bytes) in /path to/forums/forumdisplay.php(757) :
                          eval()'d code on line 134

                          Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 12
                          bytes) in /path to/forums/includes/functions.php on line
                          1027
                          Last edited by basa; Fri 1 Aug '03, 11:47am.
                          Sebastián J. Bianchi

                          Comment

                          • basa
                            Senior Member
                            • Jan 2002
                            • 421
                            • 3.0.0 Beta 4

                            #14
                            Ok, I'm still getting these,

                            "Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 46080 bytes) in /(path to) html/forums/includes/functions_forumslist.php(278) : eval()'d code on line 12

                            Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 32 bytes) in /(path to)/html/forums/includes/functions.php on line 1027

                            Scott I sent the PM but I never heard back. Can anyone help me here? What do I need to look at/do?
                            Sebastián J. Bianchi

                            Comment

                            • basa
                              Senior Member
                              • Jan 2002
                              • 421
                              • 3.0.0 Beta 4

                              #15
                              I realize you guys are busy, but it's been 2 weeks since I pm'ed access to my server and I've not heard anything back.

                              Can anyone help with this? I'm not the only getting them, and I am still getting these. I feel like I'm talking to myself here, and I've talking longer than Fidel Castro on a May day speech.
                              Sebastián J. Bianchi

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...