The discussion revolves around annetters experiencing extreme slowness issues with a fresh local installation of Discourse on Windows 11 with 8GB RAM, WSL via VS Code, and Ubuntu bare on an SSD.
annetters reported that starting up ember-cli takes 5-10 minutes, loading a page in http://localhost:4200/ takes 5+ minutes, and occasionally the ember process quits randomly. Falco suggested checking memory stats, pointing out that 8GB might be insufficient for running Windows 11, WSL2, and Discourse processes.
Falco and Arkshine recommended developing against a hosted instance or using the Theme Creator to avoid local development issues. annetters ultimately decided to develop the theme separately via Theme Creator and test components on a hosted install, concluding that a laptop with more memory is necessary for local development.
Has anyone experienced *extreme slowness" issues after a new local install? I just completed a fresh installation am trying to create a theme. I’m not super familiar with Ubuntu/WSL so maybe I’m missing something obvious?
local machine, Windows 11 with 8GB ram, WSL via VS Code, Ubuntu bare, SSD
Can you share memory stats while running this? 8GB is already tight for Windows 11 alone, if you add the whole Linux VM to run WSL2, and the PG/Redis/Unicorn/Ember processes it may cause you to swap too much.
I’ve only a Discourse small dev instance for comparison, and WSL already uses 4GB. However, the actual usage can be much higher depending on the activity in it.
I’m not sure. Maybe it was a bug before, but I usually never turn off my computer, and for some reason, it could go up to 10GB (or more). But yeah, by default, from what I see in the documentation, 50% of your total memory can be used. (I have 64 GB, so I guess that’s the reason).
Hey all. Thank you for your suggestions. I ended up developing the theme separately via theme creator and testing components on a hosted install. Guess I’m shopping for a new laptop with more membory this year!