Select to view content in your preferred language

Application stopped in Qt/QML

1018
1
11-10-2016 06:56 AM
tanerkoka
Frequent Contributor

Hi,

  We are using Arcgis Runtime SDK for Qt 10.2.6 and Qt 5.4.2 (MSVC 2013, 32 bit) Qt Creator QT\QML Android side  We have local editing application which edits features within an offline geodatabase and sync back to the service.

After deploying application in android device after a while device ram value is getting increasing and probably in max ram value  crash application and give "cbc(App name ) stopped ".Are there any mechamizm for release objects which is previously used in app or are there any other ways to solve this important problem without crash app.

Thanks

Tags (2)
0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

QML has a garbage collector that runs periodically, and it cleans up anything that has gone out of scope. You can force garbage collection by the "gc()" method not the global object. However, you should not need to do this. Are you seeing a leak, or does your app just use a lot of memory? If you see a leak, then this is a bug that should be logged with Esri technical support.

Thanks,

Luke

0 Kudos