Comments (2)
@darshana-ios thank you for reporting. Are you able to replicate the crash? Any more details you can provide? As far as I know we are closing all of our cursors correctly. This might be an OOM error?
from amplitude-android.
@darshana-ios we haven't had any other reports of this issue. If you look at our code here: https://github.com/amplitude/Amplitude-Android/blob/master/src/com/amplitude/api/DatabaseHelper.java#L203-L266, you will see that we only use cursors in 2 methods getEventsFromTable
and getValueFromTable
, and we close the cursors in the finally block in each method. Is it possible that your app has unclosed cursors? You need to remember to close cursors even after handling exceptions, which is why we do it in the finally block.
from amplitude-android.
Related Issues (20)
- Missing release notes for 2.38.x HOT 1
- Offline events caching HOT 1
- NullPointerException : DeviceInfo.getVersionName HOT 3
- AmplitudeClient.makeEventUploadPostRequest shall check HTTP response 200 rather than matching string response to "success"
- How do we get access to sessionId? HOT 5
- Fatal Exception: java.lang.InternalError
- Hi @Rajuahmed786 thanks for using Amplitude. Can you please provide more details about this request? Thanks
- Test Issue ticket creation in AMP
- Crash: Could not allocate CursorWindow HOT 1
- NullPointerException occurred randomly. HOT 1
- AmplitudeClient.setOptOut Doesn't Work HOT 5
- General enums in Ampli HOT 1
- Custom User Properties Not Updated HOT 3
- Amplitude SDK is not tagging its socket thread.
- Devices with TLS 1.0 and TLS 1.1 are being reported (Android 4.x) HOT 1
- Can't downgrade database from version 4 to 3 HOT 1
- How to set withUserProperties in LogEvent HOT 1
- Internal ANR HOT 2
- Multiple Start Session/ End Session events with 0 duration HOT 2
- AmplitudeSDK.logEvent java.util.ConcurrentModificationException occurs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplitude-android.