Menu

Fatal flaw in Import 2.65.3

Help
2004-02-14
2004-02-17
  • Loren Koehler

    Loren Koehler - 2004-02-14

    I received the following message when trying to import a GEDCOM of 8MB:

    Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 40 bytes) in /public_html/phpGedView/functions_index.php on line 320

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

    What does this mean? LK

     
    • Arne Eckmann

      Arne Eckmann - 2004-02-15

      In the file, session.php on lines 41 to 44 you can find this code:

      $memory_limit = ini_get('memory_limit');
      if ($memory_limit < 16) {
          ini_set('memory_limit', '16M');
      }

      You can eventually try to change it to say:

      $memory_limit = ini_get('memory_limit');
      if ($memory_limit < 32) {
          ini_set('memory_limit', '32M');
      }

      Best regards,

      Arne

       
    • Loren Koehler

      Loren Koehler - 2004-02-15

      Arne,
      I had to go up to 64M to get it to import but it finally worked. Thanks! LK

       
    • Arne Eckmann

      Arne Eckmann - 2004-02-16

      Hi Loren

      You are welcome, and thanks for reporting back :-)

      Best regards,

      Arne

       
    • John Finlay

      John Finlay - 2004-02-17

      It would be much better for your server if you could either use MySQL mode or split up the gedcom into smaller chunks.  Running an 8MB GEDCOM in index mode will be very resource intensive for your server.

      --John

       

Log in to post a comment.