I just did a clean installed of PGV 4.2.3 and am getting a memory error when importing my GEDCOM. “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7368705 bytes) in xxx /uploadgedcom.php on line 958”
I set the memory on config as 128M. When I try to access the “PHP information” I get forwarded to “Current GEDCOMs”.
My PGV4.1.6 installation is also set at 128M and everything works well. So the server memory should be adequate. The GEDCOMs are identical. PDO is enabled and I’m running PHP Version 5.2.5, with a MySQL database.
I thank anyone who can help in advance!
Ray
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ray
regardless of what you think you have set, you have only 32mb of RAM assigned to either PHP or to PGV. Memory settings are in two places:
1) Config.php for PGV (actually now the INSTALL.PHP program for configuration GUI, and
2) php.ini
You must have both set for the higher number as the PGV setting can only allocate up to the maximum allowed by php.ini. PGVv4.1.6 did not require as much memory so you may never have exceeded 32mb, but the warning/error provided here has so indicated.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you. I went into the config.php file directly and set the memory to 128m. The import now works fine. I don’t know why the initial configuration via the GUI didn’t actually change the memory setting in the config.php file. Do you think that this could be a bug?
Thanks again.
Ray
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ray
I suspect a permissions issue, rather than a bug, as none has been evident previously and much testing has been applied to the INSTALL.php procedure. Chances are you had your CONFIG.PHP locked down (as you should) when you attempted to modify it via the GUI and had proper permissions to modify the file when you did so manually.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I’m running PGV 4.1.6 without any problems.
I just did a clean installed of PGV 4.2.3 and am getting a memory error when importing my GEDCOM. “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7368705 bytes) in xxx /uploadgedcom.php on line 958”
I set the memory on config as 128M. When I try to access the “PHP information” I get forwarded to “Current GEDCOMs”.
My PGV4.1.6 installation is also set at 128M and everything works well. So the server memory should be adequate. The GEDCOMs are identical. PDO is enabled and I’m running PHP Version 5.2.5, with a MySQL database.
I thank anyone who can help in advance!
Ray
Ray
regardless of what you think you have set, you have only 32mb of RAM assigned to either PHP or to PGV. Memory settings are in two places:
1) Config.php for PGV (actually now the INSTALL.PHP program for configuration GUI, and
2) php.ini
You must have both set for the higher number as the PGV setting can only allocate up to the maximum allowed by php.ini. PGVv4.1.6 did not require as much memory so you may never have exceeded 32mb, but the warning/error provided here has so indicated.
-Stephen
Stephen,
Thank you. I went into the config.php file directly and set the memory to 128m. The import now works fine. I don’t know why the initial configuration via the GUI didn’t actually change the memory setting in the config.php file. Do you think that this could be a bug?
Thanks again.
Ray
Ray
I suspect a permissions issue, rather than a bug, as none has been evident previously and much testing has been applied to the INSTALL.php procedure. Chances are you had your CONFIG.PHP locked down (as you should) when you attempted to modify it via the GUI and had proper permissions to modify the file when you did so manually.
-Stephen