My app has been functioning great for many years. July 14, 2021 it started misbehaving...
This is the batch file that starts my app, which is large (24 meg)..
'cd\root
'java -Xmx1024M -jar tripinspect.jar
'pause
This is the error file (log section)...
If I remove the - -Xmx1024M from the startup bat, will it use as much memory as it needs to run any process?
Right now, dead in the water....
Thx
This is the batch file that starts my app, which is large (24 meg)..
'cd\root
'java -Xmx1024M -jar tripinspect.jar
'pause
This is the error file (log section)...
B4X:
'main._appstart (java line: 279)
'java.lang.RuntimeException: java.lang.OutOfMemoryError: unable To create new native thread
' at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)
' at anywheresoftware.b4a.objects.Timer$TickTack$1.run(Timer.java:118)
' at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
' at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
' at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:153)
' at abmtripinspect.ti.com.main._appstart(main.java:279)
' 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.b4a.BA.raiseEvent2(BA.java:91)
' at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
' at abmtripinspect.ti.com.main.main(main.java:28)
'Caused by: java.lang.OutOfMemoryError: unable To create new native thread
' at java.lang.Thread.start0(Native Method)
' at java.lang.Thread.start(Unknown Source)
' at anywheresoftware.b4a.objects.Timer.startTicking(Timer.java:68)
' at anywheresoftware.b4a.objects.Timer.setEnabled(Timer.java:77)
' at abmtripinspect.ti.com.callsubutils._plusimpl(callsubutils.java:130)
' at abmtripinspect.ti.com.callsubutils._callsubdelayedplus2(callsubutils.java:73)
' at abmtripinspect.ti.com.main._prtim_tick(main.java:477)
' 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.b4a.BA.raiseEvent2(BA.java:91)
' ... 12 more
'
'main.main (java line: 28)
'java.lang.RuntimeException: java.lang.RuntimeException: java.lang.OutOfMemoryError: unable To create new native thread
' at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)
' at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
'
If I remove the - -Xmx1024M from the startup bat, will it use as much memory as it needs to run any process?
Right now, dead in the water....
Thx