We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
52 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)....
1
vote
1answer
49 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 ...
1
vote
1answer
30 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 ...
0
votes
1answer
41 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: ...
2
votes
1answer
373 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/...
1
vote
2answers
237 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 ...
1
vote
0answers
768 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 ...
2
votes
1answer
344 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?
4
votes
2answers
213 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 ...
2
votes
2answers
621 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 ...
1
vote
2answers
187 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 ...
1
vote
1answer
322 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 ...
1
vote
1answer
816 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 ...
3
votes
1answer
947 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 ...