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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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
Memory is set in several places and constrained by several methods. There are plenty of posts on the help forum, had you searched, to provide you with some directions, as well as on the WIKI.
http://wiki.phpgedview.net/en/index.php?title=Configure_memory_usage_for_php
http://wiki.phpgedview.net/en/index.php?title=Memory_Limit
https://sourceforge.net/projects/phpgedview/forums/forum/185166/topic/3502781
https://sourceforge.net/projects/phpgedview/forums/forum/185166/topic/3532639
and more than several more. Also, exhausted memory can be indicative of a poorly collated DB and other problems. Be sure you have only one collation on your SQL DB, try the fix as described above, and your problems should be resolved.
-Stephen
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
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".
->canajun2eh - My fault that I trusted the error message.
My PGV ver. is 4.2.3 and xampp ver. 1.7.3.
Broe
You missed Gerry's point.
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
Great! Thanks again. Best regards BROE