Skip to content

Taking several picture leads to OutOfMemory Exeption #2460

Description

@tsonevn

In case you are using CameraModule and you take several pictures one after another, the application will throw an exception OutOfMemory Error. This problem has been reproducible on Android device.
Adding specific width and height for the image as arguments in takePicture method will not solve this issue.
I am attaching a sample project, where this problem could be reproduced and debugged locally.
https://github.com/tsonevn/SampleCameraModule.git

tns --version 2.1.1
tns-core-modules: 2.1.0
tns-android: 2.1.1

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions