Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
208 views

Upgrade to 3.5.8 causing Allowed memory size bytes exhausted error

I'm stepping through Craft release versions while updating a Craft v3 site that is many versions behind. 3.5.7 works fine, but after using $ composer require craftcms/cms:3.5.8 to update to 3.5.8, ...
plaintxt's user avatar
  • 488
1 vote
1 answer
307 views

Memory Upgrade Issues

Problem Hi all, I have been struggling with issuing the command ./craft gc. It shows the following Delete all trashed items? (yes|no) [no]:yes Running garbage collection ... PHP Fatal Error 'yii\base\...
Seraphim Jester's user avatar
0 votes
0 answers
63 views

Craft CMS security scans: upload of over-the-limit file hangs the system; should it throw exception/error?

We are putting our new Craft CMS 3.2 install (dev environment) through some security scan paces, including uploads of 500Mb files. We'd expect to throw an exception message/error page on an over-the-...
Michael's user avatar
1 vote
1 answer
77 views

My month/year archive template code no longer works in 3.2 [closed]

My blog has a date archive page that uses a variation of this code. Here's the code that I've been using: {% set allEntries = craft.entries.section('entries').type(['posts','reviews']).limit(null)....
Jason Morehead's user avatar
1 vote
1 answer
153 views

Redis cache memory usage

I’m runnung a few Craft sites with Redis cache enabled. It works fine. Except that Craft only uses around 3mb of Redis memory, with peaks up to 5, while there’s 128mb available. Is there a way to ...
Rinus's user avatar
  • 135
2 votes
1 answer
57 views

Lowering memory usage on task batches

I build a plugin for Craft 2 which imports data from an excel file into craft commerce products. The problem is that it needs to import excels with like 10.0000 rows and 30 columns. I made a simple ...
Pieter-Jan De Bruyne's user avatar
0 votes
1 answer
55 views

Craft causing Apache2 to max out memory and swap

Background: Our Craft 2 site has been working for years. Now I want to upgrade to Craft 3. On a test machine, I have been having problems with the upgrade process. I have tried 3 classes of things: ...
kr37's user avatar
  • 1,355
2 votes
1 answer
1k views

Resaving Entries hitting a mysterious memory limit

I renamed a channel section and Craft (2.6.3012) is trying to resave all the entries therein (about 500 entries, many with up to 10 localized versions). I'm constantly getting this error (in /craft/...
Sandwich's user avatar
  • 636
1 vote
2 answers
476 views

Querying channel entries hits memory limit

We have a channel that has about 700 entries but is paginated with a limit of 30 entries. Our client is looking to add a button so users can print out all entries. One of our proposed solutions was to ...
user2909019's user avatar
1 vote
0 answers
1k views

PHP memory limit, is 1024 MB too much?

I just had some problems with an update exhausting my memory. But I already had the PHP memory limit at 512 MB, and I had to take it up to 1024 MB! I know this is relative but, is this too much? How ...
cballenar's user avatar
  • 1,409
2 votes
1 answer
447 views

Monitor PHP memory usage

I'd like to examine the memory usage per-page on my website using Craft CMS. Is there a configuration option to enable memory logging or to display memory usage at the bottom of the page?
Jason's user avatar
  • 348
4 votes
2 answers
241 views

Adding new locale - hangs at Step 3 'ResaveAllElements'

I've looked at every option I can think of so hoping that someone can assist. We're on a dedicated server with full root access. We've got a relatively small site that now needs a Spanish locale ...
JonnyT's user avatar
  • 324
2 votes
2 answers
1k views

Update Asset Indexes not working for large number of assets

I am trying to index 1.8GB of assets to an asset source on Craft. I have created an Asset Source which points to the folder with all of the assets. When I select the Asset Source I want to update the ...
Ben Parizek's user avatar
  • 13.5k
1 vote
2 answers
234 views

Count users, not enough memory error

Hi I have like 2000 users in my system. I would like to get a count of the active ones, so I did it like this: {{craft.users.group('member').count()}} but this returns the count with the limit of ...
Alex's user avatar
  • 143
2 votes
1 answer
367 views

Memory usage in sub tasks vs. regular tasks

I'm currently implementing a task-based application, which pulls some data from an external API before creating a number of entries based on the payload. After creating the entries, the app will need ...
Mats Mikkel Rummelhoff's user avatar
1 vote
1 answer
1k views

Possible memory leak - GeneratePendingTransforms/ImageMagick

Wondering if anyone else has had issues with memory and a large amount of image transforms. I seems like perhaps memory is not being freed up between transforms. When GeneratePendingTransforms is ...
Tim Kelty's user avatar
  • 3,081
3 votes
1 answer
1k views

Running out of memory in my Task-based plugin

I am writing a plugin that imports a large amount of data form an API into some custom element types. I have it all set up and working nicely with Tasks however I am running into a fairly big issue ...
Josh Angell's user avatar
  • 2,311