aaronk Well-Known Member Licensed User Longtime User Jan 6, 2019 #1 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)
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 Jan 6, 2019 #2 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: Jan 15, 2019 Upvote 0
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).
aaronk Well-Known Member Licensed User Longtime User Jan 6, 2019 #3 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
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.
Erel B4X founder Staff member Licensed User Longtime User Jan 15, 2019 #4 I've updated my previous answer as it wasn't correct. Upvote 0
MarkusR Well-Known Member Licensed User Longtime User Jan 15, 2019 #5 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
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.
aaronk Well-Known Member Licensed User Longtime User Jan 15, 2019 #6 Erel said: If the project is big then it can take a few seconds Click to expand... 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
Erel said: If the project is big then it can take a few seconds Click to expand... 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.
MarkusR Well-Known Member Licensed User Longtime User Jan 16, 2019 #7 what backup time is used outside of the vm with the same project? Upvote 0
aaronk Well-Known Member Licensed User Longtime User Jan 16, 2019 #8 MarkusR said: what backup time is used outside of the vm with the same project? Click to expand... Not sure. I only use a Mac for development now. Upvote 0
MarkusR said: what backup time is used outside of the vm with the same project? Click to expand... Not sure. I only use a Mac for development now.