I have an extremely disturbing laggy Android Studio editor. I read all proposed optimisation suggestions on the stack and did following things to speed it but nothing helped.
My Device is an MBP from middle 2015 with 16 GB Ram and 512 GB SSD HD.The project is a Java Project which was ok on my other laptop. Any other things I can do?
Clear Keyboard Cache Over time, such data can lead to keyboard typing lag on Android. Let's clear the keyboard cache. Step 1: Long tap on the Gboard app icon and open the app info menu. Step 2: Go to Storage & cache menu and tap on the Clear cache option.
Typing lag most often occurs as the result of a lack of memory. Adding additional RAM to the memory slots can ameliorate this lag. However, even computers with sufficient memory can experience poor keyboard performance.
Keyboard lags can slightly be caused by frequent copying on the Clipboard. A major means of easing multiple typing on Android devices is by making copies of the text on the Clipboard, and pasting it on the selected avenue.
Thank you guys for all advices. After having eye cancer with laggy editor I finally managed to speed it up. Fortunately It was not only the fault of the Android Studio itself, so that we can't blame it directly =)
As @FierceFox suggested I saw that windows server was working quite hard in the background and eating my CPU as well my memory.
sudo rm /Library/Preferences/com.apple.windowserver.plist
sudo rm ~/Library/Preferences/ByHost/com.apple.windowserver*.plist
Restart MacOSX with PRAM reset (hold the P and R keys while holding down the option (⌥) and command (⌘) keys before the gray boot screen appears)
Now My Editor is working fine again.
UPDATE:
As soon as I choose scaled resolution, the editor gets laggy again.! So it only works fine in default resolution.The problem is actualy only valid for Android Studio.In Xcode it seems to be OK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With