Skip to content

docs: OPSQLite large datasets on android 12 (Temporary store memory option) #485

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

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

Chriztiaan
Copy link
Contributor

@Chriztiaan Chriztiaan commented Jan 30, 2025

For large datasets on Android 12, the default temp store (file) may cause disk IO errors, in the past we resolved this for RNQS by setting a build flag to use the memory option.

This PR adds a readme entry on how a user can configure their package.json to set the option for OPSQLite, ideally there is a way for us to define this as part of the code generation.

Reference PR from RNQS: powersync-ja/react-native-quick-sqlite#28

Copy link

changeset-bot bot commented Jan 30, 2025

⚠️ No Changeset found

Latest commit: c15caad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Chriztiaan Chriztiaan changed the title docs: OPSQLite Temporary store memory workaround docs: OPSQLite large datasets on android 12 (Temporary store memory option) Jan 30, 2025
@Chriztiaan Chriztiaan marked this pull request as ready for review January 30, 2025 14:07
@Chriztiaan Chriztiaan merged commit bc98f23 into main Jan 30, 2025
6 checks passed
@Chriztiaan Chriztiaan deleted the chore/opsqlite-memory-temp-store-readme branch January 30, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants