wurfl-updater fatal error: allowed memory size exhausted

chris_loftus
Posts: 6
Joined: Fri Jan 08, 2016 2:51 pm

wurfl-updater fatal error: allowed memory size exhausted

Postby chris_loftus » Tue Jan 17, 2017 3:07 pm

I am trying to use the evaluation version (1.8.2.1) with as many defaults as possible. I ran:

composer install --optimize-autoloader --no-dev

and then:

php wurfl-updater -c config/config.php.example

WARNING: This configuration is using the default setting for the storage path: /Users/chrisloftus/Documents/modules/m2220/trunk/mobile-web/wurfl/wurfl-php-1.8.2.1-evaluation/storage
Please specify a value for "wurfl_storage_path" in the configuration file,
since data saved in the default storage path could be removed on APIs upgrade.


WARNING: Loading the evaluation data file


Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 240 bytes) in /Users/chrisloftus/Documents/modules/m2220/trunk/mobile-web/wurfl/wurfl-php-1.8.2.1-evaluation/src/Repositories/AspectRepository.php on line 586

I am running on a MacBook Air OSX 10.11.6

Does anyone have any advice on how to solve this?
Thanks

aaronp
Posts: 228
Joined: Wed Dec 09, 2015 12:39 pm

Re: wurfl-updater fatal error: allowed memory size exhausted

Postby aaronp » Tue Jan 17, 2017 3:22 pm

Hi Chris,

Thanks for reaching out to us. Are you able check your php.ini file to see what the memory_limit is set at? The default memory_limit for PHP is set at 128 M and the error message indicates you have exceeded your set limit. Once you have accessed the php.ini file, try increasing the memory_limit.

Thanks,

Aaron

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: wurfl-updater fatal error: allowed memory size exhausted

Postby kamermans » Tue Jan 17, 2017 3:35 pm

Hi Chris,

To build on Aaron's comments, we are also filing a bug report internally to have the memory limit automatically increased during the update process.
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!

chris_loftus
Posts: 6
Joined: Fri Jan 08, 2016 2:51 pm

Re: wurfl-updater fatal error: allowed memory size exhausted

Postby chris_loftus » Wed Jan 18, 2017 3:43 am

Thanks all. The wurfl-updater now builds the database correctly and the demo app seems to work correctly.
Chris


Who is online

Users browsing this forum: No registered users and 1 guest