[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-users
Subject: Re: [ jEdit-users ] jEdit Memory Issue with RegEx Find & Replace
From: Joshua Miller <josh () joshuasmiller ! com>
Date: 2003-10-29 15:21:10
[Download RAW message or body]
I do still have the file ... I'll dig it up shortly and send it along.
This appears to be more than just a one-off issue, it's happened a
couple of times recently running RegEx Find and Replace on large files.
I'll send some samples over very soon.
On Wed, 2003-10-29 at 01:51, Slava Pestov wrote:
> Do you still have the original file? I just tried this on 1000 lines of
>
> value="checked" #helloworld#
>
> And it finished in a few seconds.
>
> On Mon, 2003-10-20 at 23:10, Joshua Miller wrote:
> > I'm trying to perform the following Find and Replace over appx. 200 lines of code:
> >
> > Find:
> > value=\"checked\" #([a-zA-Z_.]*)#
> >
> > Replace With:
> > value="YES" <cfif $1 EQ "YES">checked</cfif>
> >
> > If I perform the operation on a single instance it works, but it takes several seconds to run.
> > If I perform the action on all 200 lines, jEdit sucks up over 160MB of Ram before freezing.
> >
> > Any ideas?
> >
> > Thanks,
> >
> > Joshua Miller
> > josh@joshuasmiller.com
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by OSDN developer relations
> > Here's your chance to show off your extensive product knowledge
> > We want to know what you know. Tell us and you have a chance to win $100
> > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> --
> Slava Pestov
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
--
Joshua Miller <josh@joshuasmiller.com>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
--
-----------------------------------------------
jEdit Users' List
jEdit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic