Menu

Fatal error: Allowed memory size of 262144 by

Help
BROE
2010-05-27
2013-05-30
  • BROE

    BROE - 2010-05-27

    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 98304 bytes) in D:\xampp\htdocs\phpgedview\includes\functions\functions.php  on line 416.

    Line 416 goes like this:
    check_in("store_gedcoms() ->" . getUserName() ."<-", "gedcoms.php", $INDEX_DIRECTORY, true);

    Would anyone please tell me where to fix this error? I have no access to PGV as it is. My system information: Vista 32 bit, Memory (RAM) 2045 MB, Intel Processor 1,55 GHz.

    Thanks, best regards BROE

     
  • Stephen Arnold

    Stephen Arnold - 2010-05-27

    Broe
    The system used the 256mb of ram you have assigned to PGV and ran our. You haven'r really said what you were doing, and that would help, but it needed another 95mb. Also, you did not say which version of PGV, SQL and PHP
    Try temporarily raising your PGV ram to  512mb.
    Stephen

     
  • BROE

    BROE - 2010-05-27

    Thanks - before I make (more) mistakes: PGV info says 128 MB max. So please tell me where to correct my error.
    The fatal error occurred, when I in PGV Configuration tried to raise the memory limit to 128 MB …

    Best regards BROE

     
  • BROE

    BROE - 2010-05-27

    Hi Stephen,
    Thanks for the lesson and your help :-). I'll go on with it tomorrow. I did search the forum threads before asking, but none of them referred to functions.php … I might get back to you, if I don't succeed :-)

    Best regards BROE
    PS: Member of the PGV Fan Club

     
  • Gerry Kroll

    Gerry Kroll - 2010-05-27

    broe:
    Of course the previous posts wouldn't mention functions.php - that's not the source of the error, and the error can actually occur in a whole lot of different places.  The error is "out of memory".

     
  • BROE

    BROE - 2010-05-28

    ->canajun2eh - My fault that I trusted the error message.
    My PGV ver. is 4.2.3 and xampp ver. 1.7.3.

     
  • Stephen Arnold

    Stephen Arnold - 2010-05-28

    Broe
    You missed Gerry's point.

    Fatal error: Allowed memory size of 262144 bytes exhausted

    is the error message. The subsequent part is only the point in the program at which the error occurred - where the program exhausted the memory - and had nothing to do with the error itself. This is why that portion of the lengthy message you posted was unimportant to the cause, our replies or the solution. Not a matter of trusting an error message - it was spot on - but rather your unfamiliarity with how php displays its errors - and that's ok too.
    -Stephen

     
  • BROE

    BROE - 2010-05-28

    Great! Thanks again. Best regards BROE

     

Log in to post a comment.