Out of memory error

This looks like one for our developer. I added a constraint to an action in several macros. It was slow, I saw this in the log. @MacroDroidDev
 

Attachments

  • Screenshot_20220729-180726.png
    Screenshot_20220729-180726.png
    530.2 KB · Views: 14

Jacob L

Moderator (Lawsonator)
We would need to see the macro, device info. If you add "wait before next".actions between some if the actions it will help
 
I was only saving changes to macros. This is not action related. It is on the device I've been using for two years. Motorola G Power.

I very well could have been adding waits to the macro when I clicked the save button, but I had added a constraint to an action.
 

Dm114

Well-known member
I was only saving changes to macros. This is not action related. It is on the device I've been using for two years. Motorola G Power.

I very well could have been adding waits to the macro when I clicked the save button, but I had added a constraint to an action.
As log says, it runs out of memory! We can suppose that some of your macros (maybe the one you're saving but not only) have a great amount of data stored in string variables. As data is saved (global and local as well) along with macros, it can be heavily space consuming.

So, you should erase all useless string/dictionary/array variables before exiting a macro. You'll probably spare a lot of space.
 

Jacob L

Moderator (Lawsonator)
This may help too:

May also be wise to disable macros you're not using, you can even automate this with the disable macro action
 
If I were running a macro you guys might be right, but I was not.

Neither do any of my macros, when they are running, which they were not, use or store much data. If I have three dozen variables I'd be surprised. None of them is a dictionary.

This occurred,again not while running a macro, but when saving a macro.

No macros were run in the creation of this error.

Thanks for the suggestions anyway. It hasn't reoccurred and I have done nothing to reduce memory use.
 

Jacob L

Moderator (Lawsonator)
If I were running a macro you guys might be right, but I was not.

Neither do any of my macros, when they are running, which they were not, use or store much data. If I have three dozen variables I'd be surprised. None of them is a dictionary.

This occurred,again not while running a macro, but when saving a macro.

No macros were run in the creation of this error.

Thanks for the suggestions anyway. It hasn't reoccurred and I have done nothing to reduce memory use.
There's a new update 5.26.8 which could fix bugs related to this.
 
Top