[DATASTORE] Out of memory error
See original GitHub issueHello,
I am getting the following out of memory error on my Android 7 device while using the Datastore:
Possible Unhandled Promise Rejection (id: 2):
Error: database or disk is full (code 13)
convertError@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:102962:24
map@[native code]
http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:102765:35
__invokeCallback@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2790:23
http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2494:34
__guard@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2702:15
invokeCallbackAndReturnFlushedQueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2493:21
invokeCallbackAndReturnFlushedQueue@[native code]
I understand that Android devices have a soft cap of 7MB per app for storage but this is far below my requirements (2GB db), as the storage cap is not recommended to be exceeded, is there any other way to overcome this? Set the DB into the devices storage? My Android devices are running in Kiosk mode with 12GB internal storage.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
out of memory errors - VMware Technology Network VMTN
on my esxi 4.1 host, I am unable to browse to the local datastore. and in message logs, I am seeing a lot...
Read more >Resolve "Out of Memory" Errors - MATLAB & Simulink
When your code operates on large amounts of data or does not use memory efficiently, MATLAB ® might produce an error in response...
Read more >Firebase Firestore Emulator throwing java out of memory ...
It keeps throwing a memory error. Any help/ideas? These are the logs given by firestore-debug.log when trying to run command: firebase emulators ...
Read more >Increasing memory giving error in VMware ESXi - Server Fault
Please check if you can access the file from datastore and see if you are seeing any errors in the datastore.
Read more >Out of memory when creating index with concatenated datastore
ERROR: ORA-04030: out of process memory when trying to allocate 24 bytes (top call heap,PGA heap pool) I can create the index on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @Ashish-Nanda that works,
The issue occurred when my database grew, could I expect the Datastore to handle a 2GB database with its current setup? Do you have a roadmap for larger DB support?
@PatrickLambert1101 it seems like you are using React Native. There is a limit of 6mb on Android. Could you try the steps linked here to increase the size: https://stackoverflow.com/a/57013148
Also was datastore working initially and then you got the error as the size of your database grew? I would try increasing the size but wanted to let you know we are aware of this issue and looking into alternative storage layers to support larger databases.