Android Question B4A IDE Crash!

vfafou

Well-Known Member
Licensed User
Longtime User
Hello!
Sometimes I have the following problem with B4A IDE:
If I have a designer window open and I declare the objects of the layout with the views dialog, may the IDE when I return to code window crash with the following behaviour:
The editor freezes and after many clicks on Window Close X button it appears that the IDE tries to show a Notification Dialog but I have never seen this normally. A screenshot is attached!
Sometimes it freezes my Windows 10 and I'm forced to reset the computer!
Note that this is not so often and it surely appears to every version from v8. Now, with version 10 it's a little more often!
Does anyone have the same problem?
 

Attachments

  • Screenshot 2020-09-12 at 16.47.06.png
    Screenshot 2020-09-12 at 16.47.06.png
    444.6 KB · Views: 250
Last edited:

makis_best

Well-Known Member
Licensed User
Longtime User
You try to reinstall B4A?
On your Windows 10 Event Viewer what error message you get after crash?
 
Upvote 0

vvg

Member
Licensed User
Longtime User
It looks like a low level problem. Maybe an incompatibility with the display driver.

It is worth enabling IDE logs: https://www.b4x.com/android/forum/posts/50478/
Hi..Erel,
I am also facing same problem.....What things are same as Mr. vfafu, that...
1) I am using windows 10 with my 4gb ram laptop.
2) This problem arose more frequently when i upgraded to b4a 10
3) This is the case on both of my laptops...i am facing the problem. both of them have windows 10 with 4 gb ram.
4) My doubt...not sure... may be this is just co-incidence but meanwhile i had also installed b4j on same laptop....(But not using b4j as of now).....can b4j be the reason behind this? Should I uninstall it?
5) I disabled autobackup....changed maxram.... problem frequency was low for some period...but now again ide started to freeze frequently.
6) As of now, I am testing my php restfull api with b4a app. I am using local xamp... and online webserver...time to time..
🔔🔔So bottomline is that, ----i doubt if 4gb ram is not enough for me afterwards?? as i am using windows 10 and b4a 10 version, Is this the problem of low ram?

Update - Just now I noticed that my windows 10 update section is showing 'Your device is missing important security and quality fixes'...So i am trying to update windows 10.
After that I will check whether the problem is gone or not. But please tell me that is 4gb ram enough for me or not.
regards....
 
Last edited:
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
But if xamp is culprit as you say, then what to do?
That is my guess, as I do not use Xamp.

Then you have to try by only starting B4A and checking, as it will get full ram.
Then one by one start other programs and check.
A sort of debugging of ram.

Regards,

Anand
 
Upvote 0

vvg

Member
Licensed User
Longtime User
Definitely xamp is causing problem.
I tried reducing table definition cache of xamp but no use. When xamp is not running, b4a ide not freezing.
So is there any solution? Or increasing ram is the way out?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Or increasing ram is the way out?
4GB is not much. Especially when running a Webserver and Database also.

My dev-Machine is using Win 10, no running Webserver and i do have 32GB Ram.
The Server running our Webserver (xampp) have 32GB also.
 
  • Like
Reactions: vvg
Upvote 0

vvg

Member
Licensed User
Longtime User
4GB is not much. Especially when running a Webserver and Database also.

My dev-Machine is using Win 10, no running Webserver and i do have 32GB Ram.
The Server running our Webserver (xampp) have 32GB also.
Thank you for your advice, sir...
And sorry for late response....
I think as you said, i should increase RAM -- at least 8 gb ram and static hard disk....
Thanks again....
 
Upvote 0
Top