Android Question IDE Lockup during Backup

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I am finding the IDE locks up while it's doing the auto backup.

Once the backup is complete the IDE works again.

Is this normal or a bug ?

B4J Version 7.00
Running on VM (windows 10)
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The backup is done on a background thread. There are two possible causes for this:

1. Your VM is configured to run with a single core.
2. Writing to the hard disk slows down the process.


Auto backup fires every 10 minutes. In most cases it should complete in less than a second.

Edit: The zip creation step happens on the main thread. If the project is big then it can take a few seconds to complete and the IDE will not be responsive during that time.
You can disable this feature (Tools - IDE Options - Auto Backup).
 
Last edited:
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
My VM is set for 4 processors, 8MB of RAM.
It's saving to a local drive in the VM (not an external drive).

I am saving to a local hard drive inside the VM (not an external drive).

I guess I will just need to wait the 2-3 seconds while it creates the backup since this is how long the backup takes.
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
the unreal engine using a small timeout window / information for auto-save with possibility to cancel.
i remember that zip had a compression rate that affect the time for zipping all.
 
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
If the project is big then it can take a few seconds
My backup files are about 9.5MB each. Takes approx. 2-3 seconds to complete.

I will keep the auto back enabled, as I might need a backup file. Will just have to wait that 2-3 seconds for it to finish.
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
what backup time is used outside of the vm with the same project?
 
Upvote 0
Top