Are you using a regular expression? Could you show it to us, and a couple of 
representative lines from that log? Regexes can run away with time and memory. 
(Hard to believe they could eat up that much, though.)

It sounds like a bug. See the standard message the list appends to all messages 
(like this one) directing bug reports to [email protected].

On 22 Apr 2014, at 8:29 PM, Darren Lau <[email protected]> wrote:

> I am trying to delete lines from a server log using the "Process Lines 
> Containing.." operation and I am consistently getting an OOM error message 
> which says "There is insufficient memory to complete this operation (MacOS 
> Error code: -108)"
> 
> I am running on Mavericks with 16GB memory, out of which there is currently 
> 6.5GB free memory.
> 
> The operation finds 166,649 lines out of 1,225,408 lines but is unable to 
> delete, move to another file, etc.

BBEdit is a 32-bit application, so 16 GiB of memory doesn't change the fact 
that it can't request more than 4 GiB of it. Depending on the breaks, my 
back-of-the-envelope arithmetic suggests that your operation might take up 1/5 
of the available address space, though 1/8 is more likely.

So I'd think what you want to do wouldn't be much of a danger for memory, but 
it's enough pressure that if I were responsible for the app, I'd begin to worry.

        -- F

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to