44
gitpush
7y

Just added Kotlin plugin to my new android project and what do you know, CPU went to 100% of usage.
Aaand the winner is: Fucking Android Studio!

Comments
  • 2
    @Torbuntu it is a 3rd gen Core-I7 with turbo boost up to 3.1GHz, base Freq is 2.4GHz & 16GB or RAM + SSD
    I'm pretty sure it isn't my system but it is Android Studio it self, Visual Studio never suffered like this
  • 0
    @Torbuntu It doesn't usually do this, but installing a plugin causing all this, thats some huge shit that needs to be fixed, installation of a plugin will suffer in-case of slower hardware :/
    I don't know if it is only me but I found Android Studio to be waay better on macOS, never tried it on Linux though but guessing it is the same as macOS.
  • 2
    Download speccy to check the temperature of your hardware!
    Sometimes the thermal gets old and need to be replaced!
  • 1
    @mohammed Thanks bro gonna check it out
  • 0
    @Torbuntu Android Studio yes, but AS is an IntelliJ IDE, and it is not new for that, I'm using it now on AS latest stable version, don't like using preview releases for a production app
  • 1
    @gitpush May I tell you a secret. Most of Google’s computers are iMacs, this means that their products are better on UNIX based OSes especially macOS.
  • 2
    @just-basic-user then they might as well send me an iMac if this is the case 🤔
  • 1
    @gitpush They don’t want to add auto save to chrome inspect for 4 years.
    I am not very optimistic about them sending you an iMac 👨‍💻😣.
  • 1
    @just-basic-user there was no harm trying lol
    I better move to my Linux VM cuz a while ago it took a one line change in kotlin about 5 mins and not yet ready had to end task Android studio.
    Oh and for the record, I created the project three days ago and only have one dto, one class and two activities 😞
  • 1
    @gitpush In terms of hardware, we're basically equal, but not in terms of cpu usage. 🤔🤔🤔
  • 1
    @Awlex it started yesterday never happened before , guess Kotlin needs to be removed
  • 0
    What distro is this? Try running it in a separate cgroup?
  • 0
    @shaji It is the latest Windows 10, I think you are mixing it with Linux. Though I'm planning on moving Android Studio to a Linux VM
  • 1
    @gitpush maybe the next update will fix it (or finally break it)
  • 1
    @Awlex I've used AS 3.0 and it is indeed faster but can't risk building on it since its still in preview. Let's hope they finally solve this issue
  • 1
    Well I did for one of my projects. But can proudly release a stable with kotlin support
  • 1
    @Awlex Since we are talking about kotlin, and their async await thing is similar to C#, how one can return value from async call? It keeps on throwing exception that await is returning null :/
  • 1
    @gitpush Sorry, can't help you with that :/

    I'm the kind of guy to solve this via Interfaces (Runnable, Callable) and (depending on the value) running it on a specific thread.
  • 0
    @Awlex no worries bro, I moved away from callbacks, started causing trouble when code base got larger and more than one team member working on the same callback then hell happens
Add Comment