主页  »  技术支持  »  指南/使用技巧  »  UltraEdit  »  Large file handling
IDM Power Tips

Large file handling

UltraEdit can open files of nearly any size because of the method it uses to load them. UltraEdit's file handling is designed to prevent it from using all the available memory, which would stop other applications from running. What does this mean to you? UltraEdit has no real limit on file size.

"...I edit LARGE vital record databases. They can have 6 million lines and be 600 MB in size... Much of the work includes Search and Replace operations to correct bad data as well as consolidate records. Two other editors I tried were either too slow or constantly gave an 'Out of memory indication' They also had trouble editing line endings as one did not support the latest Regular expression commands... Ultra-Edit has performed what I needed and IT IS FAST..."
Ed M.

Large File Handling

There are three configuration settings that can be configured to optimize the handling of large files. Below are the configuration settings you will need to change.


Disable Line Numbers

Disabling line numbers on large files will help make navigation much quicker. You can access this setting by going to Advanced : Configuration : Editor Display : Miscellaneous.

This configuration item is designed for users who are editing large files. It can be very slow to calculate the line numbers when navigating in a very large file. Therefore, UltraEdit provides and option to disable this to improve the performance.

Large File Handling in UltraEdit/UEStudio


Open the File Without a Temp File

As mentioned above, UltraEdit is a disk based editor, which means it only loads small portions of the file into memory. As UltraEdit uses 64-Bit handling for the file it has no real limit on file size, and does not use excessive RAM for editing. However, when opening the file with a temporary file, UltraEdit must first create a copy of the file in your temporary directory. Copying the file can cause the initial loading to be slower than desired. By editing without a temporary file, UltraEdit will not first copy the file to your temporary file directory.

This setting may be accessed in Advanced : Configuration : File Handling : Temporary Files. Enable the option to "Open a file without a temp file".

Warning: This does mean you are directly editing the original file so any changes will be permanent.

You may set a threshold for the temp file setting for files above a certain size (specified in KB). The threshold will set a "limit" for using temporary files on files that are over the specified amount. For example, if you set this to 500,000 KB, UltraEdit will not use temporary files when you open a file that is more than 500,000 KB.

Large File Handling in UltraEdit/UEStudio


Disable File Detection and Conversion

Finally, in addition to the above settings, you may want to disable UltraEdit's automatic conversion from Unix to DOS feature. This is accessed in Advanced : Configuration : File Handling : DOS/UNIX/MAC Handling.

This option is designed to allow you to determine if the editor should automatically detect and convert UNIX/MAC files to DOS format when they are opened, which is normally handled by converting line terminators to the hex value OD/OA.

Large File Handling in UltraEdit/UEStudio


Back to power tips index


Buy Now
Upgrade
Download

Cnet/Download.com review
"我们并没有夸大其词:
UltraEdit真的非常棒..."

Corporate Licensing

It's easy to purchase corporate licensing from us!

  • Bulk/quantity discounts
  • Enterprise/plant/site licensing
  • Purchase with PO or invoice

The new UltraSuite

The only fully integrated solution of its kind!

Four powerful applications: UltraEdit, UltraCompare, UltraFinder, and UltraSentry!

Save over 33% when you bundle with the UltraSuite!

Power of Portable

Now supporting PortableApps!

UE/UC Mobile

Unleash the power of the total file management solution on your flash drive!