Bug? B4A 3.0: Too much CPU consumption?

vecino

Well-Known Member
Licensed User
Longtime User
Hello, do not know if it's normal, but "B4A 3.0" consumes between 30 and 40% of CPU, doing nothing. Is it normal?

Thanks and regards.
 

Attachments

  • uno.png
    30.8 KB · Views: 258
  • dos.png
    33.4 KB · Views: 238

vecino

Well-Known Member
Licensed User
Longtime User
Well I do not know, previous versions did not happen, so I was surprised.
Thank you.
 

vecino

Well-Known Member
Licensed User
Longtime User
Hello, I tried disconnecting the connections to the devices and the result is almost the same. (Between 25 and 35% CPU)
 

vecino

Well-Known Member
Licensed User
Longtime User
Hi again, when I start B4A, the CPU consumption is 0%
If I load a project with 5 activity the CPU consumption is 8%
If I load a project with 28 activity the CPU usage is 34%

With no connections to devices.

Greetings.
 

vecino

Well-Known Member
Licensed User
Longtime User
Hi, I have no file ".ini"
 

Attachments

  • nohayini.png
    32.1 KB · Views: 192

NJDude

Expert
Licensed User
Longtime User
You are looking at the wrong spot, that %APPDATA% means your profile, for example, assuming you have Win7:
B4X:
C:\Users\<YOUR_PROFILE_NAME>\AppData\Roaming\Anywhere Software\Basic4android

You'll see the b4aV0.1.ini, then near to the bottom you'll see this line: BackgroundGuiThreadInterval, increase its value.
 

vecino

Well-Known Member
Licensed User
Longtime User
I am sorry, I do not know well "Windows", I have always worked with Unix and Linux.
I have made the change that you have shown me (I've changed '1000 'for '5000') and has now greatly reduced the CPU occupancy.
Thank you very much.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…