Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 2 tasks
jack5github opened this issue Nov 16, 2024 · 3 comments
Closed
1 of 2 tasks
Labels
bug Something isn't working

Comments

@jack5github
Copy link

  • Disable all other plugins besides Copilot (required)
  • Screenshot of note + Copilot chat pane + dev console added (required)
    (Screenshot of index file information provided, please instruct on how to get Obsidian Android logs or any other needed screenshots if required)

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
Copy link
Author

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.

@logancyang
Copy link
Owner

#825 will set this setting to true by default

@logancyang logancyang added the bug Something isn't working label Nov 17, 2024
@logancyang
Copy link
Owner

Now the setting is default to disable index on mobile, and there's an inclusion filter to avoid large index. Closing this one for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants