AutoNotification RAM usage for updating notification explodes

Discussion in 'AutoApps' started by pip, Jun 13, 2016.

  1. pip

    pip New Member

    Joined:
    Jun 13, 2016
    Messages:
    2
    Likes Received:
    0
    Hey,
    I've been using AutoNotification for some time now to display my current profile as a notification (WiFi, Work, Home, ...). The notification gets initialized once and gets updated when a profile chance occurs. Everything works perfectly but after approx. a day AutoNotification consumes all my RAM and I have to kill it manually to release the RAM. Most of the cases it starts with a notification update error even tho the notification is still there. How do I provide you with a log or s.th. to find the bug?

    Philipp
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Hi there. Thanks for the report!

    Can you please export your tasks' descriptions (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
  3. Lenbok

    Lenbok New Member

    Joined:
    Sep 27, 2016
    Messages:
    3
    Likes Received:
    0
    I am having the same problem (I posted a RAM screenshot on the G+ forum a while back, before I worked out what triggers the problem).

    In my case, rather than displaying a notification, I am intercepting notifications from common media playing apps in order to set variables, so that the last-used app can be re-started later in time. In particular, the notifications created by Podcast Addict trigger the problem particularly badly, as it seems the notifications are updated many times during an episode playback, rather just on episode changes. My task description:


    Profile: Set PA Info (22)
    Notification: no
    Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
    Notification Type: Only Created Notifications
    Persistency Type: Persistent Only
    Has Reply Action: false
    Notification Apps: Podcast Addict
    Get All Fields : true
    Text Names : firsttext,nop,secondtext
    Big Text Names : firsttext,secondtext
    Get Internal Actions: false
    Get Internal Actions Big: false ]
    Enter: Set PA Vars (18)
    A1: Variable Set [ Name:%AMAPP To:%anapp Do Maths:Off Append:Off ]
    A2: Variable Clear [ Name:%AMARTIST Pattern Matching:Off ]
    A3: Variable Clear [ Name:%AMTRACK Pattern Matching:Off ]
    A4: [X] Flash [ Text:Got music app: %AMAPP Long:Off ]


    (I have separate profiles for other media apps)
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Can you check if disabling the "Get All Fields" option makes the problem go away? thanks in advance.
     
  5. Lenbok

    Lenbok New Member

    Joined:
    Sep 27, 2016
    Messages:
    3
    Likes Received:
    0
    Hi Joao,

    Sorry for the slow response on this, I forgot about it for a while since I wasn't listening to podcasts. I tried out your suggestion and it seems to do the trick! So far I haven't seen the memory use go above about 15mb in the couple of weeks since I changed it. So happy to have a workaround and I guess that gives you a good hint of where to look for a leak?

    Cheers,
    Len.
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Yes, thank you :) I'll try figuring it out!
     
: ram

Share This Page