On Wed, Oct 7, 2009 at 3:25 AM, rdp <[email protected]> wrote:
> I just tried to open a 768MB sql dump file and bbedit gives me a error > message -116 (Size Check failed). Size shouldn't be a problem nowadays > with Snow Leopard and more than 4 GB of RAM... > > Does somebody else have similar problems or is it only me ? This is a common issue related to limitations in the operating system. http://faq.barebones.com/do_getanswer.php?record_id=36 "Dealing with large files presents no intrinsic problems for BBEdit. However, BBEdit is a RAM-based editor, and it uses system memory to hold open files. BBEdit and TextWrangler represent open documents as Unicode, which uses two bytes for each character. Combined with an internal Mac OS X limitation, this means that you can open files up to 384 megabytes in size (402,653,184 characters). To open a larger file, you will first need to split it into multiple parts, each less than 384M in size." To split it, go to the command line, and type split -b384m filename.sql That will split your file into two equal parts, at 384MB each (this might be cutting it close, and you may need to split it slightly smaller, depending on various factors...but try 384m first, and if that doesn't work go down to 350m or so, which will give you three files). The system will create files named xa, xb, etc. Then process those resulting files as you would the individual file, using multi-file search-and-replace, or Text Factories. --Kerri --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---
