Dietrich,
dietrich.streifert@visionet.de via RT wrote:
Show quoted text> Now to your questions:
>
> Answer (b) is true: I commited about 1000 new files to the repository.
>
> And yes the problem is also in SVN::Web::Revision and SVN::Web::Log.
>
> Browsing the repository is no problem.
Right, that makes sense. They all generate lists of changed files.
Show quoted text> As I understood by reading your source you generate a hash of the
> touched paths for a specific revision. So I think this path is consuming
> a lot of memory (in my case httpd grows up to 300 MByte). Every time my
> development team members retrieved the RSS of the revision log of this
> repository it ended up in 3 to 6 running httpd which made the subversion
> server unresponsive.
I'm not sure it's the hash. At least, not exactly. A hash with a few
thousand small keys and values shouldn't consume 300MB of memory. I suspect
that SVN::Web isn't using Subversion's memory management functions
correctly, so memory's not being freed as quickly as it should be. Memory
usage for these functions should really be O(1), not O(n).
Show quoted text> So as a first measure the patch which has a configurable limit to the
> path generation would be great. I don't know if this should be
> configurable globaly or per action (class).
I'll work on this over the next few days, and I'll send you a patch to test
when I've got one.
N