Strange crash after upgrade 0.93 → 0.94.1 #5880
Replies: 0 comments 1 reply
-
Hi @fuzzykiller! I'm Dosu and I’m helping the Notes team. The out-of-memory crash you saw right after upgrading from 0.93 to 0.94.1 is likely related to the major architectural changes in the embedding/LLM system introduced in 0.94.x. During the first startup after migration, the app needs to create new tables and options for embeddings and AI features. The errors about missing options like There are no known persistent bugs causing memory leaks or crashes tied directly to these options, but the initial migration and embedding system initialization can be resource-intensive, especially if you have a large note database. The code processes embeddings in batches to avoid memory issues, but if the system is under heavy load or the options are missing during the first run, it may temporarily spike memory usage and even crash once before stabilizing on subsequent runs. This matches your experience, and the fact that things are running fine now suggests the migration completed and all options are now set up as expected. There is a related issue where LLM embedding changes in 0.94.x caused high CPU or sync loops for some users, which was fixed in recent updates (see here). The blank GUI on the desktop client was also addressed in 0.94.1 (see here). Unless you see repeated crashes or memory growth, you can consider this a one-time migration hiccup. If you do see recurring issues, it could be worth checking your embedding/AI settings and batch sizes, especially if you have a very large note set or custom config. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a server installation (Linux amd64 Docker). After upgrading from 0.93 to 0.94.1, the application crashed exactly once after upgrading, with an out-of-memory error.
This is the log I got from Docker:
It's running fine now, so there might simply be a bug in the upgrade code, dunno. Perhaps a side-effect of the still-missing options?
The desktop client never showed its GUI either (not blank, simply no window), while steadily allocating more memory. I could reproduce this issue on two Windows 11 devices.
Beta Was this translation helpful? Give feedback.
All reactions