yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] GLDavis:
Memory Usage

Good morning to all after the holiday!!!

Ben,

I started using an app called "All In One Toobox" this weekend which seems to work pretty well and has a "process" tab that lets you look at running apps and kill them to free up memory if the user chooses.

Anyway, looking at the processes it shows Utter! using quite a bit of memory & battery and not sure if this is a cumulative reading or current reading so I thought I would pass onto to you to look at.

I'm only going to add 2 items as you can look at them through the app if you choose but here's what it shows on my phone-(2 largest)

Android System

MEM:21.41MB

CPU:6.95%

BAT:9.21%

Utter!

MEM:12.45MB

CPU:9.38%

BAT:12.34%

I've rebooted a couple times over the last 4 days and the readings start low then just seem to continue climbing.

Didn't know if this is normal or not, but wanted to bring to your attention.

All of my other processes (displaying 34) are showing CPU usage at 1.21% and below and BAT usage at 2.03% and below.:confused:

Update-at 0900

Utter!

MEM:12:45MB

CPU:10.35%

BAT:13:42

Update-at 11:40 (NO USE)

Utter!

MEM:12.45MB

CPU:10.50%

BAT:13.62%
[Android Apps and Games] brandall:
Thanks for reporting this - The app is 'binded' to your voice engine and Google Voice Search which causes the memory usage to be high, because the total is all three - However, it shouldn't be that much. I've had other similar reports, so something is wrong somewhere. As usual, I can't replicate and the memory is recycled fine on my devices, but there is a problem somewhere...... Continued below:

Hope you had a good festive break! hmmm.... thanks for your report - Similar to the above, something is wrong somewhere and definitely your battery usage is waaaaaay to high.

I've finished the tutorial now, so a few other things to do, then I'll look into this in detail - there's a leak somewhere. I don't know if it's to do with Google Voice Search issues or what, but it's there.... damn....

It's really frustrating... :mad: I have a couple of ideas of how to get around this though.
[Android Apps and Games] GLDavis:
Memory Usage

Ben,

I have used Utter! today...not a lot, but for a few commands and my usage today looks normal-

MEM: 5.85

CPU: 0.42

BAT: 1.06

I'm wondering if it's possible for one or more of the command structures to cause the leak? I'm assuming it's a specific one or more than one and that's why the problem seems so sporadic?

The only way I could test would be to go through each command and then check usage? Yikes!

FOLLOW UP

Aha! Maybe something...as long as Utter recognized my commands, the usage remained low. But, the first time It didn't recognize a command or understand my request the numbers began to jump.

It seems to me that with "each" unrecognized command the numbers jump and get higher after each failed attempt.

My first failed command: MEM:12.38 CPU:1.81 BAT: 3.43

I purposely gave 2 more false requests: MEM:12.38 CPU: 2.26 BAT: 4.02

If anyone else has a way of monitoring theirs...try this and see if you get "jumps" like I did. Hopefully....we're on the right track! Maybe? Who knows?
[Android Apps and Games] brandall:
Good work Gary, thanks for this.

I'm certain you're absolutely right about the leak being in certain commands or perhaps set-up. I have all of the tools to view what is being created in the memory and killed/recycled etc So don't you worry about going through each one! Thank you though :good:

I can view it in graphs and all sorts of ways, so I'll be able to track it down, but there's no other way than to run through each command and set-up, which is massive ball ache!

I'm setting up the tools now to look at the command failures! I really hope you're right and I'm not cleaning up correctly!! That would save me many hours........ :good: :good:
[Android Apps and Games] brandall:
Hi, that's the plan - getting a website up and running soon and there will be a 'translation help' section for users that want to get involved - Hopefully you'll all agree on what the base phrases/commands should be!
[Android Apps and Games] GLDavis:
Memory Usage

Ben,

It's gotta have something to do with the failed recognition as I have only issued a couple of commands on my way home. They were all recognized but my usage climbs. Memory seems to top out at 12.38 but CPU has climbed to 7.02 and BAT to 9.85. I'm thinking that utter must be continually retrying to understand the failed attempts... Not so bad if it just knew when to say when. Anyway I will continue to test. Any suggestions let me know what you would like me to try. By the way... Utter is great... Too bad technology isn't like Space Odyssey 2000 otherwise utter would be smoking!

Have a beer.. I am!
[Android Apps and Games] brandall:
Thanks - when you say 'failed recognition' do you mean the recogniser errors, such as 'I didn't hear anything' or 'speech server error' etc - or are you referring to a failed command 'that mean't nothing to me' etc response?

First look and I can't replicate :( But it could be the Jelly Bean looping recognition problem where end-of-speech isn't called. It's midnight here, so I'm going to resume in the morning on this.

One thing, the total memory allocation you're looking at - does it break it down for you into utter/voice engine/GVS or are they all clumped together? Oh, one more thing - are you using the 'force Google Now Voice' setting? If so, does it still show as utter! using your default TTS Engine in the memory usage - I hope it released that.......
[Android Apps and Games] GLDavis:
Ben,

When I receive "meant nothing to me"

TTS-MEM:5.19 CPU:0.98 BAT:1.40

VOICE ENGINE-MEM:5.74 CPU:0.33 BAT:1.1

I AM NOT forcing Google Voice (GB 2.3.5)

using Svox Classic /Victoria UK English

GOOD NIGHT!
[Android Apps and Games] Extreme_One:
Hi Ben,

Hope you had a good Christmas!

I got the 4 kids each a 'cheap' Chinese tablet for Christmas, running Android 4.0.4 and utter! isn't available on Google Play.

I have installed on one of the tablets, the APK from here to test and utter! runs fine.

Any way to enable their tablets on Google Play? I can't give you much info as they're unbranded.

Also, the tablet we're testing with belongs to an 10yr old girl; Google voice recognition struggles to understand many simple phrases she's saying, is there a method of improving the recognition or should it start to learn her speech patterns over time or do we just accept that it's not going to work well with a 10yr old girl's voice?

Sent from my ARCHOS 101G9
[Android Apps and Games] bvxda:
Email

Hi Ben,

Is it possible to use the EMail (as in pop/smtp) instead of Gmail?

While I have a Gmail account, I do not use it for Email.

As I prefer to use my ISP Email, sending stuff from Gmail, won't have the correct send/return addresses.

If you do not have Gmail installed, it appears that utter tries to use the first Google service it can find, which happened to be Gdrive. This threw me as it did let me "link" and "validate" using my ISP Email login, and it took me a while to work out why utter kept trying to upload the text file to Gdrive.

I am now using the most recent version of Gmail.

I have noticed that if you do not "proof" the Email, utter "fails" yet the Gmail "app" is left in compose mode, waiting for confirmation of the send. Could this be because I have 2 Gmail accounts and the one I am trying to use with utter is not the first (primary?) account?

Phone is a rooted HTC T328W (wind) with ICS 4.0.1

Later ... I have just noticed that if anything goes wrong with the voice recognition at the time of choosing to proof or to not proof, utter tells you that it did not understand the command (which was "no") and then stops, so you loose whatever you had composed.

Cheers, Brenton
[Android Apps and Games] Cossack101:
my high memory use could be coinciding with when I open the settings part of utter. Utter will typically sit around 15mb until you use it and then it will go up to 30mb. If. Open settings of utter it will give to 45mb and beyond and not drop back down.
[Android Apps and Games] GLDavis:
I don't know, but 15MB sounds high to begin with. What happens if you reboot your phone, and then without using Utter what is your usage then?

Try that, if you would. Then run some commands and open your settings and see what you have then.

Thanks!!
[Android Apps and Games] Cossack101:
OK I have tried a few things.

Firstly, I should point out that I'm running CM10 on my G300. It isn't complete and has a few bugs. I thought you should know, I don't want to waste your time if it is a ROM thing and not utter. saying that I've not had a problem with other apps and memory.

From a fresh boot, utter initially uses 18mb but within 5 mins settles to 8.5mb. When I use utter this rises to 25mb and stays there. The 25mb comprises of 8.5mb utter, 10mb Google tts and the remainder Google search. This will stay like that.

If I open utter settings, utter jumps to 35mb with utter being 22mb. The more I access the settings the higher the memory goes.
[Android Apps and Games] GLDavis:
Thanks for the info. I hope that's helpful to the dev. 8.5 probably is okay, since I run 5.5 or so on non rooted device. There is an issue there somewhere with the memory that we're trying to track down and what causes it. The more input from users, the better for now.

Other than the memory, Utter working good for you?
[Android Apps and Games] Cossack101:
Well ram use has stayed at 45mb all night. Time for a reboot.

Otherwise I think utter is excellent. I have it linking to tasker, something else I was unaware of until you found utter. Even with utter murdering my phone I'm keeping it installed cos I found and it handy. I can't wait for location etc to work.
[Android Apps and Games] teraxul:
Brandall, any news about PL language? ;/

N7000 with 4.2.1 CM Asylum
[Android Apps and Games] mike6200:
I think this has something to do with it. I had great battery life. Once I installed utter and Tasker, this started showing up and killing battery life. "drm protected content storage". When I freeze that then the battery returns. This all started after utter and Tasker install.
[Android Apps and Games] brandall:
Thank you & Happy New Year

Hi Folks, just a lightening quick message

Thank you all for your help this year with the development of the app, I'm very, very grateful to you all.

Since beta, I've been struggling to keep up with everything, the user emails are the most time consuming of all. I'll be back to answer your recent posts at some point tomorrow, I really do appreciate all your feedback as I'm sure you know, I've just too much to cope with alone at the moment to stay on top of everything! I've ran out of time today as family commitments are upon me....

WISHING YOU ALL THE BEST FOR 2013 AND A BIG THANK YOU :good: !!!

HAPPY NEW YEAR :champagne: !!
[Android Apps and Games] GLDavis:
Same to you Ben! See ya in the New Year!
[Android Apps and Games] ewingr:
Same to you Brandall.

BTW...as a retired IT guy with experience from infrastructure, to application development, I want to commend you on your methodology. One of the biggest contributors to failure in applications is when developers write to their own ideas, don't involve the community, or communicate. You attack all that with a zeal. I hope your efforts end in rewards of success.
[Android Apps and Games] Extreme_One:
Happy new year to you too Ben and to all the other utter! nutters.

Sent from my ARCHOS 101G9
[Android Apps and Games] Drifternz:
Happy new year to you too Ben..

Thanks for all your effort over the last year. It has been amazing to see Utter come togeather over the year from its humble beginings to the powerful app it now is.

May all your bugs for the comming year be small and your flyspray effective.

And also thanks to those on this forum that beleive in Utter and have gone out of their way to help.

I wish you a Happy new Year as well.

And to all the furry little animals that.....oops sorry getting carried away now :p
[Android Apps and Games] 4cdndctn:
I have been playing with v.2.2.9B for the last few days on my rooted SGS3 and I'm really enjoying the app! It replaced S-Voice which I would consider a significant upgrade.

One issue which has presented 2x already, causing me to Force Close, is the upper left toast remaining. Neither selecting the "x" to close it nor disabling visual results had any effect. The only other functional issue encountered has been my inability to get wave-to-wake to work. Shake-to-wake works fine.

I have tested a few hundred permutations and combinations of commands and the results have been fantastic!

Keep it up and Happy New Year!
[Android Apps and Games] mygs2itsfaster:
hello I need help

How do I make this launch when I hit the dialer button on my bluetooth set, I keep getting the default app that came with phone, I wiuld like to make this app de default app that would launch, if anyones knows how to do this please let me, thanx
[Android Apps and Games] GLDavis:
This is from a post much earlier in Utter Development where someone got it to work for them using a 3rd party app

Originally Posted by gloscherrybomb View Post

By number 5, I meant in Paustins list.

I have utter working through Bluetooth. If I click the call button in my car, utter starts up and I can use that instead of the default dialler. I do this through the app "Bluetooth launch"

What is much more difficult is intercepting the media button clicks to launch utter when I am in media mode instead of phone mode. That's because in ics+ the priority is set to the highest, so it's hard to set a higher priority. Tasker has a 'grab' command but I haven't mastered it yet. Hopefully on my new car media and phone Bluetooth are combined so it may not be a problem (I can just use the call button).

This is great, but help me out here. When I select Utter I have a whole list of submenus all beginning with com.brandall.nutter.(multiple listings here). Which one would I select????

Ah sorry, go for nutter.launchershortcutactivity
[Android Apps and Games] brandall:
Update

Hi Folks, again apologies that I haven't been back to answer your recent posts.

Reading through them all now - I really, really do appreciate them all, I've been juggling too much recently to keep up with everything, but with the festivities out of the way, normal business has been resumed!

Back shortly.

Cheers

Ben
[Android Apps and Games] brandall:
So sorry it's taken me so long to reply to this - hope you're cool and had a good break.

Could you send me a link to the tablets please, so I can investigate - I'm wondering why it's not showing up too...

My girls are 6 & 8 and speaking as clearly as they can, Google Voice Search rarely gets close - So it is a GVS problem and it's a shame as I had plans for utter! to keep your kids amused in the car. The same for iSpeech and AT&T, but Dragon Nuance appears slightly better...
[Android Apps and Games] PeglegJones:
Maybe a dumb question but do you have a google account setup for each of them? I think that is required.
[Android Apps and Games] brandall:
Memory & Battery Usage

Thanks for all of your post regarding this, they are much appreciated.

I won't bore you all (too much!) by going into specifics, except to tell you that there isn't a fundamental issue, but there is one inherited by design. By that I mean the usual Android life-cycle of applications opening and closing and the memory management of such cycles aren't applicable (caveats) to utter, as it is permanently 'active'. Objects are therefore remaining in the memory much longer than they need to. This is amplified by its bind to a voice engine and Google Voice Search, neither of which can be ruled out as having 'leaks' - especially GVS and its Jelly Bean bugs.

To summarise, I need to explicitly dispose of memory objects manually to keep the usage down. I'll be making gradual changes to this effect over the coming months.

For the battery usage, I'm going to point the finger at GVS for now and have written a monitor for it on Jelly Bean, so I'll be able to detect if it's still listening and murder it with a suitable amount of annoyance that Google could have made such a stupid error....

Boring update complete! Please do keep the battery/memory issues coming though and I hope they will improve over the coming releases.
[Android Apps and Games] brandall:
Hi, if you are referring to the apps not appearing in the Play Store, I think you have to sign in before you can even open the Play Store app itself? So assuming that is not it.... I think.
[Android Apps and Games] Extreme_One:
They do all have separate accounts :thumbup:

http://www.amazon.co.uk/gp/product/B0081ZK4N4/ref=oh_details_o04_s00_i00

Above is the link to the tablet.

Sent from my ARCHOS 101G9
[Android Apps and Games] brandall:
Thanks - Not sure why they are not appearing right now, but I'll have a closer look before the next Play Store release.

Thanks for letting me know - Can you confirm the error you are getting please?
[Android Apps and Games] brandall:
Thanks for this - How did you identify "drm protected content storage" - was it with Better Battery Stats?

Thanks very much for your testing :good: - I think I've fixed the X not closing the window for the next release - It's not resizing automatically on some devices. Wave to wake is very difficult to activate - I can only suggest having a glance at the YouTube video 9:20 for the rhythm I use, about 1cm above the device....
[Android Apps and Games] brandall:
Quick Question

Hi folks, I'm looking at the localised extension for English speaking search engines - google.com and google.co.uk are obvious to me - Is there an extension I don't know about that you use in the US or elsewhere (English language) ?

Edit: google.ca for Canada? google.com.au for Australia? google.co.nz for New Zealand

Thanks in advance
[Android Apps and Games] Drifternz:
Yep you got it.

google.co.nz is New Zealand and google.com.au is Aussie. :good:
[Android Apps and Games] AgustinArwin:
Help Please

Hello Brandall and utter! user, Sorry for this noob question but I have a problem here and hope you can help me, well utter! is kind of not working on my device (Lenovo IdeaTab A2107A-H ICS 4.0.3) whenever I speak, it say's "I lost the network connection" I have 0.67 Mbps down-speed and 0.02Mbps up-speed, with "H" something appears on my device. I have a pre-installed Google Voice Search 3.0.1, I tried to Install 2.1.4 but utter! said "I didn't here anything", I tried to install the latest version (June 21, 2011) but Google Playstore said that it is not compatible to my device. So... what sould I do? Sent from my IdeaTab A2107A-H using xda app-developers app
[Android Apps and Games] GLDavis:
When you speak does it show in your notification that Utter is processing your command? I'm assuming it takes a few seconds (while it's thinking" before it says "lost network connection".

Also, are you able to browse on the internet? It seems to me that your network speed is rather low?
[Android Apps and Games] AgustinArwin:
Yes it does show notification something like "uttering...". Yes I can able to browse on the internet and download some stuffnon Googleplay. You think so? if that's the problem then there's no way for me to fix it unless I buy a portable WiFi device.... which is impossible for me to afford... :'(.

Anyway you're reply is very much appreciated :).
[Android Apps and Games] GLDavis:
Does Utter recognize any commands at all? Have you turned on Visual Results and checked to make sure that your commands are being heard correctly? (You can turn on from the Settings Menu).

Also, have you setup your Native Recognition and Voice Engine?
[Android Apps and Games] brandall:
Can you try connecting to a home WiFi network to test that it works properly then? It may be that your Network Provider is restricting access to the Google Speech Servers.

You might have to remove or change the apn settings on your device. Let me know.

Sent via xda premium
[Android Apps and Games] PeglegJones:
How are you connecting to the internet? Your connection appears to be too slow for any solid data transfer.
[Android Apps and Games] meo:
info

for your interest's : SiriProxy on the Raspberry Pi - this must be possible with utter - i think so ?!

http://www.youtube.com/watch?v=NUJ5z76Xv5o
[Android Apps and Games] GLDavis:
Peter,

I went to the eyes free website and read the 21 posts by the 11 authors and it seems that members are already discovering how to work around talkback and the recognition language can also be chosen which should help many with the language barrier they seem to be having.

Also, simple things like nicknames for contacts can be assigned which should make it much more efficient for dialing contacts.

A couple of the items you have asked about such as dial a number, redial, etc., have been on the developers list and should show up sometime in the near future.

I also read that the developer has been contacted and as usual his replies have been prompt.

Additionally, included in the app is the voice tutorial which is quite good and covers quite a bit of ground for the new user.

Welcome to the thread.
[Android Apps and Games] pvdeejay:
GLDavis

I have also participated in the utter thread on the eyes-free list. As I have said Utter works well while the talkback is running however still there might be interference while talkback is reading toast notification and utter is running recognition engine. Just to describe it a bit further talkback react to focus changes, display changes, window / dialog / notification popups and other events what may happen while working with a device and presents that to a visually disabled user by using default text to speech engine. So most of the changes in UI make talkback speak through the default TTS. Can you imagine how the interference I am tallking about might be happening or should I try to do an audio recording or keep explaining it further? I don't want to teach you I just would like to make sure it's understood so I apologize for possible inaccuracies in my explanation if there are any as I am not native english speaker.

Ability to assign nicknames to contacts, add a launcher icon with recognition language and default output tts engine along with its locale is something I am aware of and am currently using to look for the contact names.

Some of the issues I have fired might even be usefull to sighted people for example manipulate cursor in edit fields might be handy while doing something else. e.g. driving a car.

I understand the main developer is gratefull, supportive, sends prompt responses and willing to work on a lot of things if they make sense and are usefull. I have not emailed like a lot of people but I have chosen this discussion thread so other people can see it and comment as well.

Thanks for your ideas

Greetings

Peter
[Android Apps and Games] GLDavis:
Peter,

Your explanation was spot on. I understand completely as any background noise, dogs barking, kids having fun, etc in my surroundings also affect my use. While driving, I use GPS Navigation for alerts and it pops up at times while I'm using Utter and can trash my inquiry or has even found its way right into the middle of a text message. Utter is growing and should soon prove to be a formidable opponent to other voice systems.

Your idea of posting on this thread is a good one and allows us all to interact, develop ideas and make Utter truly remarkable.

Have a great day Peter.
[Android Apps and Games] brandall:
Yes, it's currently possible via Tasker :)
[Android Apps and Games] insanimal:
This is niiiice

Feeling pretty pleased - I've just got utter working with tasker tasks to simulate media button presses, and an app i found called headset interceptor to redirect the media buttons to doggcatcher - result: I can now play and control podcasts by voice command!

really looking forward to wake-up phrase working nicely for me (HTC One X with CM10, Utter V2.2.9.1B from your sig) - keep up the good work!