this post was submitted on 03 Jul 2023
2 points (60.0% liked)

Programming

17437 readers
217 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] epchris 1 points 1 year ago (1 children)

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?

[โ€“] [email protected] 1 points 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