B4J Question [ABMaterial] my application always crash

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi

my abmaterial version is v2.51(b4j is 5.8) my app run in 24 hours.
My app always crash in following message when it run 2~3day :(

B4X:
2017-10-04 13:22:03.687:WARN:oejwci.AbstractWebSocketConnection:WebSocketClient@5525976-95:
java.lang.OutOfMemoryError: Java heap space
main.main (java line: 29)
java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:119)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
    at b4j.example.main.main(main.java:29)
Caused by: java.lang.OutOfMemoryError: Java heap space

Scavenger running... (2 page(s) cached)
Scavenger running... (2 page(s) cached)
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at anywheresoftware.b4j.object.JServlet.createInstance(JServlet.java:62)
    at anywheresoftware.b4j.object.BackgroundWorkersManager$1.run(BackgroundWorkersManager.java:21)
    at java.lang.Thread.run(Unknown Source)
onWebSocketError: Timeout on Read
java.lang.OutOfMemoryError: Java heap space
 

Attachments

  • node4-log20171004.txt
    163.2 KB · Views: 203
Last edited:

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi

Upd data is update one record data to mysql(not use poolconnection).
032603 -> 03(hour)26(minute)03(second)

B4X:
032602 Upd data 740
032603 Upd data 741
032605 Upd data 742
032606 Upd data 743
032608 Upd data 744
032610 Upd data 745
 
Upvote 0

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi

I have try to use pool for next version !
 
Upvote 0
Top