Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

PhpGedView fails when building indexes or importing large GEDCOM files with no error messages. Help?

0
Posted

PhpGedView fails when building indexes or importing large GEDCOM files with no error messages. Help?

0

There are two problems that could be causing this when working with large GEDCOM files (>2MB). In order to get the information from the GEDCOM file, the file has to be opened and read into memory. PHP has a default memory limit of 8MB. This is a protection from rouge scripts trying to take all of a machine’s resources and disable it. Depending on your PHP version/configuration. If you are using a large gedcom you should probably double this amount especially while importing or indexing. To change the amount of memory allocated to PHP, edit the php.ini file (most likely located in /etc/php.ini on Unix or C:\WINNT\php.ini on windows) and change the following line: memory_limit = 8M Change this to: memory_limit = 16M A good rule of thumb would be to allocate 4x the size of your gedcom file. So a 4Mb gedcom shouldn’t need more than 16Mb in PHP. However an 8Mb gedcom could require up to 32Mb. After editing the php.ini file you need to restart your webserver. This is only helpful if you have

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123