Wednesday, March 23, 2011

TortoiseSVN Error

I got the following notification when trying to commit my code:

Error: Commit failed (details follow):
Error: Unable to open an ra_local session to URL
Error: Unable to open repository 'file:///D:/SVN/LinkLearning/trunk'
Error: Berkeley DB error for filesystem 'D:/SVN/LinkLearning/db' while opening environment:
Error: Not enough space
Error: bdb: unable to allocate memory for mutex; resize mutex region

I googled without luck. Then I opened DB_CONFIG file located in D:/SVN/LinkLearning/db. There, I found a statement like "You must run 'svnadmin recover' whenever you modify this file, for your changes to take effect." So I frustratingly run that command as in: D:\SVN\LinkLearning>svnadmin recover d:\SVN\LinkLearning. Then I tried to commit my code again. Wolah... magically everything is OK :D.
 

©2009 Stay the Same | by TNB