I have a support case with UltraEdit, Inc. on this but I'm curious if anyone else has run into memory leak issues or other lockups when using UES and files located on OneDrive. For me it is an ongoing issue for a year ever since I moved all my files from the local C drive to OneDrive. What happens is the memory usage as shown in Task Manager will quickly increase until it consumes enough memory that the entire system is non-responsive and only a hard reset can work. When I next re-load UEStudio it starts all over again and the only way out of it is to create a new text file and open it with UES so that none of the previously open files are also opened.
What do you mean with: "all my files from the local C drive to OneDrive"? Do you have also the folder %APPDATA% and its subfolders added to OneDrive cloud storage? That would be a bad idea as there are in %APPDATA%\IDMComp\UEStudio the subfolders EBWebView (WebView2 folder), recentdb, Restore and the hidden folder cache (IntelliTips) which should be never part of a cloud storage system as containing frequently modified files with lots of read and write accesses which do not contain application settings.
By that I mean that instead of going to C:\... to work with a file in UES I now go to OneDrive and work with the file from there. AS for whether or not this is bad idea when I first reported this happening over a year ago the response was that there shouldn't be an issue working with OneDrive, I exactly asked b/c I was ready to move everything back to the C drive if that were the case.
Why OneDrive? So no matter what computer I am using and I do work from at least three on a regular basis, I am working with the same file(s) without having to manually sync them all the time myself.
Why OneDrive? So no matter what computer I am using and I do work from at least three on a regular basis, I am working with the same file(s) without having to manually sync them all the time myself.
There should be no problem with opening a file from OneDrive with Use temporary file for editing (normal operation) selected for Use temporary file for editing (provided for very large file handling) at Advanced - Settings or Configuration - File handling - Large files and the files are small enough to be opened with the use of a temporary file created in %APPDATA%\IDMComp\UEStudio\Restore. The temporary file is updated on editing the file and not the originally opened file which is the reason why this folder should be really on local storage media and not in the cloud. A save of the file writes the temporary file back to the original location which is a folder synchronized to the cloud storage resulting therefore in an automatic upload to the cloud storage. Save should not be used too often for that reason, i.e. automatic save every 10 minutes is most likely not clever in this use case. The temporary file is saved always automatically on local storage media and so the last changes are saved in that file even on UEStudio would crash. There is no need to save the changes periodically to original file which means uploading the file periodically to cloud storage.
If UEStudio is configured to create a backup of a file on save, it is advisable to configure a backup directory on local storage media instead of the default location which is the folder of the opened/saved file on working mainly with files in a folder synchronized with the cloud storage. It is not necessary to have the backups also stored on the cloud storage. See Advanced - Settings or Configuration - File handling - Backup.
There should be enabled also Always create new file when copying to/from temporary file at Advanced - Settings or Configuration - File handling - Advanced as cloud storage systems do not like it if applications like UEStudio uses faster special disk based functions to modify files. They have problems to handle the file modifications right on file contents are special updated in comparison to real file systems which must support such file modification operations. There is an international standard for file systems but there is none for cloud storage systems.
Last make sure the OneDrive app is up-to-date by opening the Microsoft Store, clicking on downloads and checking for updates, especially for OneDrive.
If UEStudio is configured to create a backup of a file on save, it is advisable to configure a backup directory on local storage media instead of the default location which is the folder of the opened/saved file on working mainly with files in a folder synchronized with the cloud storage. It is not necessary to have the backups also stored on the cloud storage. See Advanced - Settings or Configuration - File handling - Backup.
There should be enabled also Always create new file when copying to/from temporary file at Advanced - Settings or Configuration - File handling - Advanced as cloud storage systems do not like it if applications like UEStudio uses faster special disk based functions to modify files. They have problems to handle the file modifications right on file contents are special updated in comparison to real file systems which must support such file modification operations. There is an international standard for file systems but there is none for cloud storage systems.
Last make sure the OneDrive app is up-to-date by opening the Microsoft Store, clicking on downloads and checking for updates, especially for OneDrive.
Thanks Mofi! Currently the RedGate support guys are reviewing the ogs and whatever else is in the set of files/folders they asked me to send them. It's been two weeks so far and still no responses aside from we're working on it. I think I may have stumbled across an unpredicted scenario. I can say with certainty that if I move all those files to my local C drive so their not going through OneDrive I have no memory leak issues. I check these setting's you mentioned and maybe it will help identify what needs to be changed.
I will definitely try and rely back to this post with with whatever solution I end up having to use so if anyone else faces a similar issue they'll know what to do!
Thanks !
I will definitely try and rely back to this post with with whatever solution I end up having to use so if anyone else faces a similar issue they'll know what to do!
Thanks !


