Logseq-OG dies when opening graph with more than 2480 files.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by tracing graph opening and file indexing in the Logseq-OG source; the issue does not name a file or test, so first locate the startup path that handles graph files. Reproduce with a graph containing more than 2480 files on Linux or Android and inspect the indexing loop. Done means the graph opens successfully without remaining in a CPU loop on the reported platforms.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Search first
- I searched and no similar issues were found
What Happened?
The Android version shows a progress bar and just dies at 2480. The Linux version just shows a blank screen. There is no way to show CPU usage on Android but on linux it maxes out one CPU (apparently it can't multithread?) while it is locked up. I left it running overnight and it just stayed in CPU loop all night.
Reproduce the Bug
Have a directory with 2833 files. Try to open Logseq. Watch it die.
Expected Behavior
Would have hoped it would open the directory.
Screenshots
Desktop or Mobile Platform Information
https://github.com/logseq/og/releases/download/1.0.0/Logseq-OG-android-1.0.0.apk
https://github.com/logseq/og/releases/download/1.0.0/Logseq-OG-linux-x64-1.0.0.AppImage
Linux is debian 13.7
Android is latest Android 17
Additional Context
I have had this same problem many years ago when I tried to add a large number of files.
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)
- Lingua principale
- Clojure
- Stelle
- 355
- Fork
- 72
- Merge medio
- 1h 5m
- PR unite (30g)
- 6
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di logseq/og
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
-
Data lost when disk is fullAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 62/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
clojure-emacs/cider#4235 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Server logs every websocket send at DEBUG since #8844, adding lag under loadForse già presa @matthewlehew l’ha presa 2 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno