Android Question Out of memory in rapid debug mode

dreamworld

Active Member
Licensed User
Longtime User
As B4A 3.0 was released, I downloaded it too.
However, I found issues soon.
In rapid debug mode, my app was unalbe to launch.

** Activity (main) Create, isFirst = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
(Intent) Intent { act=android.intent.action.MAIN flg=0x20000000 cmp=newdreamworlds.com/.main }
no extras
** Activity (main) Create, isFirst = true **

The app compiled by B4A 3.0 frequently crashes:

java.lang.OutOfMemoryError: bitmap size exceeds VM budget
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:481)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.InitializeMutable(CanvasWrapper.java:587)

java.lang.OutOfMemoryError: bitmap size exceeds VM budget
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:481)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper.Initialize(CanvasWrapper.java:76)

The listview would suddenly can't move smootly.

So I have no choice but return to B4A 2.71.

As B4A 2.71 loading my project, the following dialog constantly pop up.
After closing the dialog dozens of times, I finally returned to B4A 2.71. Everything is lost, the additional librarys, the private key, the path ...


捕获.JPG
 
Top