logancyang / obsidian-copilot

THE Copilot in Obsidian
https://www.obsidiancopilot.com/
GNU Affero General Public License v3.0
3.02k stars 210 forks source link

Obsidian on Android crashes on plugin startup when loading large index file #822

Open jack5github opened 10 hours ago

jack5github commented 10 hours ago

Copilot version: 2.7.2 Obsidian Android version: 1.7.6 Android version: 14

(Bug report without the above will be closed)

Describe how to reproduce Obsidian on Android crashes when attempting to load Copilot plugin with a 70MB index file.

Expected behavior The app should open without issues.

Screenshots image

Additional context If it is not possible to prevent this bug from occurring due to a potential memory overflow, could there be a setting so that the index file is not automatically loaded?

jack5github commented 9 hours ago

Update: I found the Disable index loading on mobile setting and have now enabled it. Given what happened, it's possible that this setting ought to be on by default.