Data has grows a little bit above 62K, now is around 62,1K, here is what happen
1) Testing on Genimotion with 1GB RAM, RDC crashed before reaching inserting codes, here is the log
java.lang.OutOfMemoryError: [memory exhausted]
at dalvik.system.NativeStart.main(Native Method)
2) Testing on Genimotion with 2GB RAM, first run is OK, second run (without quit from application), app jush crashed without any Log
3) Placing DoEvents in the loop is bad idea, no crashed but seem runs forever. Placing DoEvents outside the loop, sometimes got the error
an error has occurred in sub:mainmenu_jobdone(java line:947)
Android.View.InflateException:Binary XML file line #51:Error Inflating Class <unknown>
Sometimes got a message from OS, something like 'Program is not responding, do you want to close it?
Congrat to
LucaMs, your code is even faster, it took only 2 secs to finish.
But unfortunately, problems remains, it was RDC that crashed on a big data.
Is there any setting to increase memory for RDC without increase memory in hardware?