# Easy Logger App paused?

**URL:** <https://community.homey.app/t/easy-logger-app-paused/75971>\
**Category:** Apps\
**Tags:** app\
**Created:** [February 3, 2023, 11:39am UTC](https://community.homey.app/t/easy-logger-app-paused/75971 "2023-02-03T11:39:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 3, 2023, 11:39am UTC](https://community.homey.app/t/easy-logger-app-paused/75971/1 "2023-02-03T11:39:18Z")

</div>

Hi.

I’m developer for Easy Logger and got a message from one of mye user telling the App had stoppet. Meaning not producing anything.

The user was finding a pause icon on the App. I have never seen that before. Anyone knows about this state ?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/f/7fc02c46b68587921c28b8639ecc4da272f8eb25.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 3, 2023, 11:55am UTC](https://community.homey.app/t/easy-logger-app-paused/75971/2 "2023-02-03T11:55:19Z")

</div>

When an app uses more than 80MB of RAM is gets paused automatically.

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 3, 2023, 12:17pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/3 "2023-02-03T12:17:52Z")

</div>

aha, didn’t know that.

The issue is now documented on web page

[https://wiki.bwa.no/x/DoFEDQ](https://wiki.bwa.no/x/DoFEDQ)

Thanks

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 3, 2023, 12:27pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/4 "2023-02-03T12:27:29Z")

</div>

Is there a way to detect the memory usage and for now restart the app is it happens ?

assuming pausing is not a crash .

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/0/40c7ce41cbee060af9af79908c459a2e2fb7fa57.png)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 3, 2023, 12:53pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/5 "2023-02-03T12:53:01Z")

</div>

I assume that it will work, but I am not sure.  
Another intermediate solution could be to restart the app automatically 1 time per day via Flow.

I had already pointed out to you on Twitter that your app requires a lot of RAM, but unfortunately you didn’t respond.

I’m not an app developer, but as far as I know there is a recommendation from Athom what the maximum memory consumption of an app should be. I think that it should be a maximum of 20-25 MB.  
@robertklep, do you have any information on this?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 3, 2023, 12:57pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/6 "2023-02-03T12:57:41Z")

</div>

I think you’re right, I seem to remember something similar (although the only actual limit is the aforementioned 80MB). Can’t find it on the dev site though.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 3, 2023, 1:05pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/7 "2023-02-03T13:05:11Z")

</div>

I had already looked there too and found nothing.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [February 3, 2023, 1:11pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/8 "2023-02-03T13:11:31Z")

</div>

It’s mentioned under App performance in the Developer Tools

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/040dfb46ffba2a31f67c2194b9586e0843e2413b.png)

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 3, 2023, 1:21pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/9 "2023-02-03T13:21:55Z")

</div>

@DirkG Sorry for not see your twitter message, got lost in the forest …

The true story behind is that this was only a ‘private’ app, but got popular so I put it on the app store.

Will try to shrink it. The Google API client must be the reason.

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 3, 2023, 1:24pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/10 "2023-02-03T13:24:13Z")

</div>

Yes it does use some memory, but this is not only based on the amount of modules.

‘someting’ is happening here…

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/9/493754b8a6e0d3486bca942ae7c1b54a6f09c225.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 3, 2023, 1:35pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/11 "2023-02-03T13:35:27Z")

</div>

Does your app use timer (`setInterval/setTimeout`) or `EventEmitter`? Those are typically good candidates for memory leaks.

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 4, 2023, 4:57pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/12 "2023-02-04T16:57:47Z")

</div>

I have this sleep function

```
  async sleep(ms: number) {
    return new Promise(resolve => setTimeout(resolve, ms));
  }

```

Is this a candidate for memory leak ?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 4, 2023, 5:55pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/13 "2023-02-04T17:55:25Z")

</div>

No, that should be fine.

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 4, 2023, 9:08pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/14 "2023-02-04T21:08:28Z")

</div>

Kind’a fixed the memory footprint …

Replaced the big google complete library with the google sheet only version.

Just be exited for the next version … test version here : [Easy Logger | Homey](https://homey.app/no-no/app/no.bwa.easy-logger/Easy-Logger/test/)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/0/804b44a7a90e5960e906b383d9d978cddcdadace.png)

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 5, 2023, 11:39am UTC](https://community.homey.app/t/easy-logger-app-paused/75971/15 "2023-02-05T11:39:01Z")

</div>

Had to revert the test version, found some bugs.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 5, 2023, 1:02pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/16 "2023-02-05T13:02:03Z")

</div>

If the bugs are fixed and the memory consumption is in a normal range for such an app (Athom’s Google Sheet app consumes about 10 MB), then I’ll give the app a second chance. 👍🏻

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 5, 2023, 3:46pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/17 "2023-02-05T15:46:25Z")

</div>

v1.4.3 is out in test [Easy Logger | Homey](https://homey.app/no-no/app/no.bwa.easy-logger/Easy-Logger/test/)

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 6, 2023, 6:09am UTC](https://community.homey.app/t/easy-logger-app-paused/75971/18 "2023-02-06T06:09:59Z")

</div>

@DirkG If you want to test the app I’m interested to see if the date and number format is working outside Norway. Not so easy to test.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 6, 2023, 12:46pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/19 "2023-02-06T12:46:54Z")

</div>

Installed the v1.4.3 version and made some small tests:

**Short summary:**

- in my opinion, the app still needs a lot of memory consumption (ca. 13-28 MB)  

- Action card _ **Create a sheet** _ works ✅

- Action card _ **Append multicell items in spreadsheet…** _ doesn’t work at all (same spreadsheet like above).❗  
Tried it with:  
– numeric tag only  
– with _ **#** _ in front of the numeric tag  
– with _ **@NoDate** _ in front of the numeric tag  
– with _ **@NoDate|#** _ in front of the numeric tag  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/3/c3b49af1690f5ef6d61c8c58ebaff4f3ab84f1df.png)

I haven’t tried the other cards.

---

<div class="post-metadata">

**Author:** ![bwa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bwa/32/17852_2.png) [@bwa](https://community.homey.app/u/bwa)\
**Post date:** [February 6, 2023, 1:23pm UTC](https://community.homey.app/t/easy-logger-app-paused/75971/20 "2023-02-06T13:23:41Z")

</div>

set debugmode see [4. Configure the Easy Logger App - Homey Easy Logger - Confluence](https://wiki.bwa.no/display/HEL/4.+Configure+the+Easy+Logger+App)  
and send me a diagnostic trace

I can try to see what’s happening.

[Next page](https://community.homey.app/t/easy-logger-app-paused/75971.md?page=2)
