2018-03-18 02:18:04 -0600 | commented answer | Doing a deep copy causes memory leak Thanks. Strangely, whilst declaring mask = new Mat() in onCameraViewStarted() worked for copyTo() it did not work for cl |
2018-03-18 02:15:14 -0600 | received badge | ● Supporter (source) |
2018-03-18 02:15:13 -0600 | marked best answer | Doing a deep copy causes memory leak I am writing an android app and I am using method The issue is this is causing a memory leak in my app that automatically closes the app after 10 or so seconds. I have tried numerous ways to solve the issue, however, some ways have no effect and others just crash the program. My code for the OpenCV Is there a way to get round this issue? For those after extra information. I have uploaded a copy of the LogCat information to Paste Bin An image of the device profiler can be seen below The repository storing the source code can be found here |
2018-03-18 02:15:13 -0600 | received badge | ● Scholar (source) |
2018-03-17 14:42:16 -0600 | asked a question | Doing a deep copy causes memory leak Doing a deep copy causes memory leak I am writing an android app and I am using method Mat.clone() to do a deep clone of |