[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Memory problems with ruby bindings (dir_delta)

From: Dimitrij Denissenko <contact_at_dvisionfactory.com>
Date: 2007-01-11 11:58:07 CET

In my (FastCGI) application I am tracking changes in the repository and
store them in a database, where I use the following two lines:

------
editor = Svn::Delta::ChangedEditor.new(root, base_root)
base_root.dir_delta('', '', root, '', editor)
...
------

Every new revision is parsed and stored that way, but I noticed memory
problems using this solution. I traced the memory allocation and found
out that every 'dir_delta' call increases the amount of memory my app
consumes, which means that new revisions are not only stored in the DB
but also somewhere in memory ;-). So I have a very simple question. Is
it somehow possible to "release" memory allocated by 'dir_delta'?

Dim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 11 11:58:17 2007

This is an archived mail posted to the Subversion Users mailing list.