Logseq-OG dies when opening graph with more than 2480 files.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!)
- Ngôn ngữ chính
- Clojure
- Star
- 355
- Fork
- 72
- Merge trung bình
- 1 giờ 5 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của logseq/og
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
-
Data lost when disk is fullĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 62/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
-
Dark mode is broken on AndroidĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
clojure-emacs/cider#4235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Server logs every websocket send at DEBUG since #8844, adding lag under loadCó thể đã có người làm @matthewlehew đã nhận 2 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày