Android Question OutOfMemoryError in debug mode?!

Similar threads

B4A Question Problem with java.lang.StackOverflowError
B4A Question Error when compiling
B4A Question Problem with CallSub
B4A Code Snippet Access ENum's
B4A Question Error after add jXUI.jar

Roberto P.

Well-Known Member
Licensed User
only in debug mode, I have the momory problem. how can I fix it?
thanks you
Best Regards

java.lang.OutOfMemoryError

at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:94)
at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:145)
at java.lang.StringBuilder.append(StringBuilder.java:216)
at anywheresoftware.b4a.BA.TypeToString(BA.java:663)

at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.BA.TypeToString(BA.java:660)
at anywheresoftware.b4a.B4AClass$ImplB4AClass.toString(B4AClass.java:29)
at java.lang.String.valueOf(String.java:1660)
at anywheresoftware.b4a.debug.Debug.objectToString(Debug.java:384)
at anywheresoftware.b4a.debug.Debug.writeGlobals(Debug.java:303)
at anywheresoftware.b4a.debug.Debug.sendBPData(Debug.java:284)
at anywheresoftware.b4a.debug.Debug.access$9(Debug.java:279)
at anywheresoftware.b4a.debug.Debug$1.run(Debug.java:256)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at anywheresoftware.b4a.Msgbox.waitForMessage(Msgbox.java:200)
at anywheresoftware.b4a.Msgbox.debugWait(Msgbox.java:158)
at anywheresoftware.b4a.debug.Debug.wait(Debug.java:213)
at anywheresoftware.b4a.debug.Debug.reachBP(Debug.java:260)
at
Message longer than Log limit (4000). Message was truncated.
 

Roberto P.

Well-Known Member
Licensed User
HI Erel
use version 3.82. not use rapid debugger because have error
thanks
 

Roberto P.

Well-Known Member
Licensed User
Erel,
in many rapid debugging functions are not compiled, while in debug and release legacy I have no problems compilation
 

Roberto P.

Well-Known Member
Licensed User
hello Erel
is an important project to be sent. I try to make a smaller one and send it.
 
Top