| 28 Nov 2024 |
@drupol:matrix.org | ghpzin: Do you think I should submit a PR to fix this upstream? | 16:23:33 |
ghpzin (moved to @ghpzin:envs.net) | As in nixpkgs or open-webui ?
open-webui preferably would look into why it happens, but afaik for most of these problems people just tell to add --max-old-space-size with some high number and if it works - it works. | 16:27:40 |
ghpzin (moved to @ghpzin:envs.net) | Pretty sure in nixpkgs there are a few of those too. | 16:28:15 |
ghpzin (moved to @ghpzin:envs.net) | Pretty sure in nixpkgs there are a few of those too, that just have --max-old-space-size with some higher number. If you want to just temp override your flake, patch: https://gist.github.com/ghpzin/2c953016de3f744648ad55fcb1cc7ad6 (thought it couples to frontend with version/src, because it is not exposed from nixpkgs package) | 16:29:47 |
ghpzin (moved to @ghpzin:envs.net) | Pretty sure in nixpkgs there are a few of those too, that just have --max-old-space-size with some higher number. If you want to just temp override your flake, patch: https://gist.github.com/ghpzin/2c953016de3f744648ad55fcb1cc7ad6 (I copy-pasted frontend with version/src, but there is probably a better way to get it from nixpkgs package) | 16:31:26 |
ghpzin (moved to @ghpzin:envs.net) | Pretty sure in nixpkgs there are a few of those too, that just have --max-old-space-size with some higher number: 3 according to search: https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20max-old-space-size&type=code
If you want to just temp override your flake, patch: https://gist.github.com/ghpzin/2c953016de3f744648ad55fcb1cc7ad6 (I copy-pasted frontend with version/src, but there is probably a better way to get it from nixpkgs package) | 16:32:44 |
ghpzin (moved to @ghpzin:envs.net) | @Pol As in nixpkgs or open-webui ?
open-webui preferably would look into why it happens, but afaik for most of these problems people just tell to add --max-old-space-size with some high number and if it works - it works. | 16:35:08 |