in reply to Re^3: Consumes memory then crashs
in thread Consumes memory then crashs
Now the problem is it only looks up the first name infinitelymy( $fh, $name ) = @_;
Nothing seems wrong to me so I changed it slightlywhile( my( $name ) = $names =~ m/([a-z0-9_]+)/isg ) { lookup( \*LOOKUP, $name ); }
Now I am back to where I started, 1 response ever 1 or 2 seconds, too slow. Is there a simple solution to thread this properly?while($names =~ m/([a-z0-9_]+)/isg ) { my $name = $1; lookup( \*LOOKUP, $name ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Consumes memory then crashs
by BrowserUk (Patriarch) on Mar 24, 2012 at 15:40 UTC | |
by mbethke (Hermit) on Mar 24, 2012 at 19:35 UTC | |
by davido (Cardinal) on Mar 24, 2012 at 21:20 UTC | |
by BrowserUk (Patriarch) on Mar 24, 2012 at 23:12 UTC | |
by zwon (Abbot) on Mar 25, 2012 at 05:34 UTC | |
by BrowserUk (Patriarch) on Mar 25, 2012 at 06:34 UTC | |
| |
by mbethke (Hermit) on Mar 25, 2012 at 07:24 UTC | |
by BrowserUk (Patriarch) on Mar 25, 2012 at 09:36 UTC | |
| |
by allhellno (Novice) on Mar 24, 2012 at 16:00 UTC | |
by BrowserUk (Patriarch) on Mar 24, 2012 at 23:17 UTC | |
|
Re^5: Consumes memory then crashs
by Corion (Patriarch) on Mar 24, 2012 at 15:27 UTC |