Changes are not updated in real time and app breaks
I am using wsl (Ubuntu) with redis on linux.
When the code is updated, it is not reflected in the website and frontend stops working.
I tried running server and client seperatly but every time there's a change the client stops runnning. Why is it?
12 Replies
Hi @Hitarth Sheth how much RAM do you have on your linux VM?
8gb
on the VM right? not your windows host?
Its wsl ubuntu
My windows has 8gb
ok but how much do you have on your ubuntu?
As far as I know, when using WSL it uses windows resources so it will be the same as windows ram
Limiting Memory Usage in WSL2 | Aleksandr Hovhannisyan
By default, WSL 2 may reserve a significant chunk of your host RAM. Thankfully, we can limit its memory usage with a .wslconfig file.
Let me try increasing the memory usage!
Hey @charles I tried increasing the memory usage it fixed the server breaking problem. But, when the code changes it is not reflected in the browser.
It's the same issue as @Anchit1909
(https://discord.com/channels/1130383047699738754/1130386664812982322/threads/1174273597632675851)
And @Rick⚡ (https://discord.com/channels/1130383047699738754/1130386664812982322/threads/1293295960038052030)
Hi @Hitarth Sheth do you still need help here? could you monitor your RAM usage and tell me if you have enough now?
you can add
VITE_DISABLE_TYPESCRIPT_CHECKER=true
VITE_DISABLE_ESLINT_CHECKER=true
to your .env in packages/twenty-front, this will disable some tooling which is very ram expansive
Hey @charles its sorted now. Disabled the type checks and ran the BE on docker.
Thanks for your help
perfect
sorry about the slow answer, release 0.32 was VERY challenging!
No problem. Congrats on the release.