Intellij and docker on vm memory issues - eviltoast

I’m trying to run a development project on a vm, my vm has Debian 12 and has 8gb ram and I’m running 2 intellij projects + mysql in docker and my vm freezes completely ti the point I need to reset my pc. Anyone has suggestions how to avoid tha without increasing memory? I feel like that a small project like that should hold 8 gb memory

  • epchris@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    While it’s running, have you checked docker stats to see how much memory/cou the container is using? What’s the host, what’re it’s total resources and what are you using to run the vm?

    • DeriHunter@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      My host is windows which has 16gb ram and I assigned 8 gn for the vm. I haven’t check what’s the docker takes I’m pretty sure that the intellij and the have process are choking it