-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Wekan Crash if more than 2GB of RAM is used #3585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do you mean the env var NODE_OPTIONS: --max_old_space_size=4096? If this is enough to fix the problem it would be great :) |
Please try does it work. 8000 |
Works :) |
Could you add this to the offical wekan documentation? |
The real question is why it's using >2GB of RAM. Are there any unbusted chaches? |
Yes sure. When Wekan is running, CPU usage and RAM usage is increasing all the time, as mentioned in some of these issues. |
Also too much data is published to browserside, making browsers crash #3893 |
Definitely a stupid question ... If yes, where/how ? Should we add the env var Thanks |
There are no stupid questions. There are only my stupid answers. WeKan Snap does not have that setting option yet. To try that option, you could use start-wekan.sh from https://github.com/wekan/wekan or some service file, and bundle version from https://github.com/wekan/wekan/wiki/Raspberry-Pi using bundle version for your server CPU architecture. If adding that option helps, that setting could be added to some Snap settings at https://github.com/wekan/wekan/tree/master/snap-src/bin . If that option does not help, then you should wait when I have finished partial stupid rewrite of WeKan. |
@xet7 For the moment I have not yet deployed Wekan within our team. I use it for my personal use. At first, it could probably be interesting to know the details about the heap and size, with
What do you think about that ? |
@xet7 Ex1 :
Ex2 :
|
Somebody got this:
So does any of these help? Is there already some setting in WeKan for this, or should it be added? |
Some progress: I did this testing on Debian VM that is running on bare metal server donated to WeKan development. That Debian VM has 60 GB RAM, just in case, it could work with less.
UPDATE: This works best with size 4096. Bigger values do increase CPU usage too much.
|
Thanks to xet7 ! Related wekan#3585
Thanks to xet7 ! Related wekan#3585
Issue
Other Wekan issues can be added here.
Server Setup Information:
Problem description:
if NodeJs uses more than 2GB of Memory, Wekan crashes with a Exception:
I researched a little and as it turns out NodeJs v12 has a standard limit of 2GB Memory Consumption, but it can be changed with the following Nodejs CLI Command:
--max-old-space-size xxxx
where xxxx is the memory in MB (source) Can this be implemented to raise the Wekan max Memory Limit?The text was updated successfully, but these errors were encountered: