81
gitpush
7y

FUUUUUUUUUUUUUUUUUUUCK!
8 FUCKING GB GONE FOR ANDROID STUDIO! THAT IS HALF THE RAM I HAVE FOR THIS LAPTOP!!! WHAT THE FUCK IS WRONG IT KEEPS GETTING WORSE T_T

Comments
  • 3
    Yes I still have 10% but my project folder is now filled with files that has this error:
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (malloc) failed to allocate 523216 bytes for Chunk::new
  • 12
    Control panel > programs and features > uninstall android studio

    Thank me later ❤️😁
  • 7
    @Electrux I wish I could go back in time and chose a different fucking major -.-
    I am starting to hate development in general, either cuz of the tools, or clients, or the OS, or the million new frameworks especially that shit hybrid mobile apps
  • 3
    FYI it's already worst!
  • 4
    Shit!
    If u want to kill yourself then run emulators and open 10 tabs of chrome 😅
  • 4
    @gitpush well... so I’ll b glad I chose low level stuff... no clients, no new frameworks all day everyday 😂
    Hopefully 😅😅😅
  • 3
    @Amiin I gave up on emulators couple of years ago and I always test on a real device or I know my laptop will smack the hell out of me XD
    And as you can see I use FF I don't dare on having Chrome and Android studio together I know how it will end

    @MCCshreyas I hope :\
  • 3
    @Electrux best thing you ever did in your life, clients are bad for the fucking health, so does new frameworks -.-
  • 4
    @gitpush
    If you are brave to install different components seperately, you can download INTELLIJ IDEA and install the jdk and sdk, and other stuff seperately. It may not work, but according to my experience, it is a bit better than using Android studio
  • 1
    @gitpush You can use nox app player (jellybean only)
    Or genymotion
  • 1
    @CozyPlanes I'm thinking of giving it a go, but don't have the time to do it :\
    Community edition will work right?
  • 2
    @gitpush 7 process of android studio!!!
    What are them?
    Are you opened several project?!
  • 4
    @Amiin no only one window and one project.
    the project is still in its early stages, only two fragments, two activities.
    Those processes are openJDK, Android Studio, java ...etc.
  • 5
    Not used Ram is a wasted Ram

    Android studio benefits from this saying alot
  • 3
    @Count the thing is I want some RAM for the damn VM to be able to run, wish Android Studio understands that!
  • 2
    @jAsE I wish :\ but I make living out of this shit T_T
  • 1
    @jAsE NOOOOOO! That is the worst I've seen, IONIC is still better than that shit >_>
    I had a bad time using it, getting the app to run, package, and it sometimes just fail on me
  • 2
    Could try android studio on linux, my 5 year old laptop with 8gb of ram still runs android studio pretty well.
  • 1
    @jAsE Xamarin is innovative, but still buggy and hard to make good apps with it.
  • 1
    @gitpush You mean the genymotion? Yes the community edition will work (they hid the free version deep in the website. Make sure to make a quick google search unless you will download the trial version. (it isn't in the download section)
  • 1
    @gitpush and make sure to install genymotion plugin for AS if you use genymotion to test it out.
  • 0
    @CozyPlanes
    Android phone with developer options enabled is better! To save RAM in this case
    I would suggest Genymotion instead of default AVD any day
  • 1
    @Nawap
    Nonsense.
    1. To install apps for testing, you need to enable dev mode for usb debugging.
    2. Just by enabling dev mode, it doesn't make the entire process faster, neither the computer, and the phone itself
    3. If you are talking about disabling anims in dev mode, it is nonsense. It simply disables all anims in mat design, making the process a little bit faster. Like a couple of milliseconds.
  • 1
    @CozyPlanes
    I know it doesn't make the comp or mobile faster, but u can utilise the space saved by it (which would have been occupied by the emulator)
  • 5
    Hey Man, it’s not that bad. My 2-layer neural network takes 10GB of my hard earned RAM.
  • 3
    @gitpush no hopes. It's universally proved that Android studio is worst IDE in the world. 😡😡😡. I hate it. I repeat I hate it.
  • 4
    Try opening a few virtual machines to see what happens. :)
  • 3
    Honestly I don't get how everyone has ram issues with Android Studio, I've used it for years and never had it use anywhere near 8gb.
  • 2
    @MCCshreyas false. Xcode is the worst ide in the history of the world. I'm pretty sure every time someone opens xcode a puppy is murdered.
  • 2
    @hexc same. I use it on an 09 iMac with 8gb ram and have never had an issue. That's with Vivaldi (browser) and emulators open too.
  • 2
  • 4
    Use Linux and all of your problems will be solved.
  • 3
  • 2
    @ryanmhoffman I don't know much about xcode.
    But you know what, you get series of errors in Android studio newly created project without editing a single line. You cannot even build a empty project at first shot. I mean what the hell is that! 😣😣😣
  • 3
    @MCCshreyas been using AS since it was beta a few years ago, never had that happen. The only annoyance I have is constant notifs to update something or other, but those are easily ignored until I'm ready.
  • 1
    wow been busy for the night and too many comments lol

    to sum it up for everyone:
    1. Android studio on iMac 2015 at work, it takes a sweet 4GB but iMac has 8GB of RAM
    2. on my laptop I have 16GB I have paging file disabled so it doesn't kill my SSD so running windows alone takes 5GB
    3. My VMs have this ram config:
    Ubuntu Server: 1GB RAM, Ubuntu Desktop 8GB RAM
    4. If I use Visual studio and FF + Ubuntu Desktop VM I still have 1GB free RAM
    5. If I use FF + Android Studio I get OOM errors and be left with less than 500MB free RAM
    6. I have set org.gradle.jvmargs=-Xmx4096m and yet Android Studio reach 8GB of usage
    7. I'm working on a new project with only two activities and two fragments for now and I'm doing instrumented tests, running those tests alone I can see my RAM usage increasing 100s of MB during build and only go down by 150MB after build is done when it uses around 300MB for build + run test
    8. NO for emulators I prefer real device as I have several old android devices to use
  • 1
    and org.gradle.jvmargs=-Xmx4096m is done for only one project even if I remove it I get same issues :\
  • 0
    @jAsE devBanner front end for android to experiment bunch of new android apis including those like "@Dao"
  • 0
    @jAsE And unity games
  • 2
    @gitpush maybe you should indeed buy a desktop pc with some 32gb of ram, or even more (it's quite cheap).
    Also Linux is known to manage ram better, so maybe try it? Even a dual boot might work.
  • 1
    @Noob I would think of that but the problem is my laptop covers everything that I need it is just Android Studio that is fucking things up I'm not gonna buy more RAMs or a new PC just for that thing...
    Unless I really need one for more stuff I'll consider it but for now for that thing I wont spend money
  • 1
    @ryanmhoffman I have experienced that issue with stable version that's why am saying! It's shit.
  • 1
    @Condor WHERE HAVE YOU BEEN ALL THIS TIME!!
    I will apply those and hope that thing doesn't still eat up my ram -.-
  • 1
    @ArchLinux sure thing man, here is a link that describes it all along with why people thing it should be disabled.

    https://howtogeek.com/126430/...

    As to why it kills SSD, it doesn't in the short run, but in case I start getting out of memory like in this rant case, Windows will start moving some of not in use ram content to the hard disk, and that's what I don't want to happen, as it I work alot on this laptop and I'm sure I'll reach OOM a lot. I'm ok with that and I'd rather have windows warning me rather than handling it and then finding a 10GB filesitting in my C drive for nothing.

    For the meantime I keep closing and opening android studio when it passes 4GB of ram, since I have an SSD it takes around max two minutes to open again, load the project and sync Gradle, I am ok waiting than stressing my ssd with writes just to save 2mins wait every hour or two
  • 1
    @ArchLinux your welcome 😀
  • 3
    Unused RAM is a wasted RAM
  • 1
    @vlatkozelka @athlon guys I mentioned earlier that I have an Ubuntu Server VM and an Ubuntu Desktop VM that I need to have them running while I work on my Android app, desktop vm for the webservice and server vm for database docker container, I can combine them into one in the desktop but I want to have things separated as I don't always require to develop the service. Having Android Studio using that much RAM means I can no longer have my vms running
  • 1
    @vlatkozelka

    I mean, it can build without the ram exceeding 8gbs.
    1gb is enough
Add Comment