Hello,
i have been using the keyboard for around 10 months on the Milestone, and its the first time i am going to ask this question:
At some point as i am writing , there is a small lag of 1-2 seconds and then suddenly all the letters that i pressed appear in the line i was writing...
Does anyone else have this lag?
Thanks
Small lag at times
- cyril
- Developer
- Posts: 2079
- Joined: Tue Feb 02, 2010 4:02 pm
- Phone: Nexus One 2.3
- Location: Nice, France
Re: Small lag at times
Probably due to the garbage collector running at that time. The only way to know is to log at the phone logs at the time you had a lag
Cyril
Re: Small lag at times
Garbage collector?
- cyril
- Developer
- Posts: 2079
- Joined: Tue Feb 02, 2010 4:02 pm
- Phone: Nexus One 2.3
- Location: Nice, France
Re: Small lag at times
Lines such as:
Garbage collection is the mechanism used in the Java language to free unused memory in the app. Unfortunately it happens in the main thread of the application, which means the user interface of the app is freezed while the GC is running, which can take a long time on a slow phone (up to 1s)
in the phone logsD/dalvikvm( 131): GC_FOR_MALLOC freed 29155 objects / 1945224 bytes in 141ms
Garbage collection is the mechanism used in the Java language to free unused memory in the app. Unfortunately it happens in the main thread of the application, which means the user interface of the app is freezed while the GC is running, which can take a long time on a slow phone (up to 1s)
Cyril
Re: Small lag at times
Ok thanks,
from where can i get the log from my phone in order to post it here?
So on your phone, if you write pretty fast press space write pretty fast (just press letters with no meaning), it will not have a lag?
thanks again
from where can i get the log from my phone in order to post it here?
So on your phone, if you write pretty fast press space write pretty fast (just press letters with no meaning), it will not have a lag?
thanks again
- cyril
- Developer
- Posts: 2079
- Joined: Tue Feb 02, 2010 4:02 pm
- Phone: Nexus One 2.3
- Location: Nice, France
Re: Small lag at times
You can use "Log Collector" app
And no, there is no lag on my Nexus One, but there can be on my Hero
And no, there is no lag on my Nexus One, but there can be on my Hero
Cyril
Re: Small lag at times
ok, so it might be fault of Milestone then
Re: Small lag at times
This happens to everybody i think from time to time, but other thing that i notice is that when you press a letter like 10 or 20 times very vast, then u stop letters continue to pop up, because you enter them faster then they are written (but it remembers them).
Can you make it to stop as soon as u stop, or this is android issue not SK pro.
Can you make it to stop as soon as u stop, or this is android issue not SK pro.
Re: Small lag at times
I'm using a Samsung Captivate and also noticed lag when I'm typing. This is a recent problem that started in 3.8.1 I believe. Before that it was smooth and responsive. I've tried other keyboards and no other ones have the same problem with lag. This seems to be a keyboard issue, not an android issue.
- cyril
- Developer
- Posts: 2079
- Joined: Tue Feb 02, 2010 4:02 pm
- Phone: Nexus One 2.3
- Location: Nice, France
Re: Small lag at times
"lag" means a lot of different things for everyone... can you explain exactly the symptoms? No change in 3.8.1 is supposed to be the cause of lags of any kind, so I'd like to understand better. Also, please try to uninstall/reinstall the app to check if it's better
Cyril