Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Memory Error after Upgrade

Started by Claud Rusnac 8 years ago · 4 replies · 1532 views
8 years ago

I upgraded to v1.5.4, but not getting a memory error:

2018-11-09 17:49:03] grav.CRITICAL: Allowed memory size of 134217728 bytes exhausted (tried to allocate 266240 bytes) - Trace: #0 /web/html/nisp/vendor/filp/whoops/src/Whoops/Run.php(382): Whoops\Run->handleError(1, 'Allowed memory ...', '/web/html/nisp...', 272) #1 /web/html/nisp/system/src/Grav/Common/Errors/SystemFacade.php(36): Whoops\Run->handleShutdown() #2 [internal function]: Grav\Common\Errors\SystemFacade->handleShutdown() #3 {main} [] []

👍 1
8 years ago

Narrowing this down - tried to index using TNTsearch and got this error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /Web/app/user/plugins/shortcode-core/vendor/thunderer/shortcode/src/Parser/RegularParser.php on line 294

8 years ago

There appears to be some issue with the Shortcode Core v2.7.2 plugin.

8 years ago

Looks like changing parser: regular -> parser: regex in shortcode-core.yaml fixes this problem.

8 years ago

There could be another solution to this problem, that is if you would still want to use previous chosen option you had..
In the php.ini file you can choose your memory_limit, which can be set to

  • 128MB
  • 256MB
  • 512MB
  • 1G
    ...

Just an extra solution for memory limit issues 🙂

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by Anna, 17 hours ago
1 49 10 hours ago
Support · by gtx, 1 week ago
4 227 2 days ago
Support · by Paul Hodges, 2 weeks ago
13 277 5 days ago
Support · by Anna, 3 weeks ago
9 335 1 week ago
Support · by TomW, 2 weeks ago
4 188 2 weeks ago