Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
27 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\...
0
votes
0answers
24 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-...
0
votes
0answers
20 views

Craft using over 1000mb of memory: HTML Purifier and Yii db

I've been getting warnings from my host lately that my Craft website is using around 1000mb of memory and they've had to kill processes (my limit is 512mb). I'm curious, is this normal? Seems to be ...
1
vote
1answer
55 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
58 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
34 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
44 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
514 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
265 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
839 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
353 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
217 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
678 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
192 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
325 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
882 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
981 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 ...