• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6922: Memory leak with + characters in topic names

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal No Action Required   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Memory is exhausted

the bug is occur rhel5.3 above. you could run http://yourdomain//bin/view/Main/WebRss++++++++++++++++++++++++++++++++++++++++++++ and you'll found your server or pc run bomb of memory leak. smile

some fixed like this: find the file : lib/TWiki/Store/SearchAlgorithms/Forking.pm and the line

while( @set ) {

add this above:

$searchString =~ s/\+/\\\+/g;

ok, you avoid the memory leak.

-- TWiki:Main/AngelLi - 2012-09-04

Thanks Angel for report and proposed fix. The proposed fix would break RegularExpression search. The issue already has been fixed in TWiki-5.1.1 by tweaking the topic filter, see Item6802.

Could you verify in your installation that the Item6802 fix forks for you?

-- TWiki:Main.PeterThoeny - 2012-09-04

This site is running TWiki version TWiki-5.1.1, Sat, 14 Jan 2012, build 22570, Plugin API version 1.4

-- TWiki:Main.AngelLi - 2012-09-05

Make sure to fix $TWiki::cfg{NameFilter} in your LocalSite.cfg as described in Item6802. Specifically:

$TWiki::cfg{NameFilter} = '[\\s\\*?~^\\$@%`"\'&;|<>\\[\\]\\+\\x00-\\x1f]';

-- TWiki:Main.PeterThoeny - 2012-09-04

I see. but i found the url: http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/WebRss+++++++++++++++++++++++++++++++++++++++++++++++++++++ have the same question, and other also.

-- TWiki:Main.AngelLi - 2012-09-05

Oh, yes, I forgot to patch LocalSite.cfg on the develop.twiki.org server. This is now done.

-- TWiki:Main.PeterThoeny - 2012-09-05

Summary Memory leak with + characters in topic names
ReportedBy TWiki:Main.AngelLi
Codebase 5.1.1, 5.1.0
SVN Range

AppliesTo Engine

Priority Normal
CurrentState No Action Required


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2012-09-05 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback