Re: OutofMemory in pass 16?
"Kevin (Qing) Wang" <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Michael, I have resolved the issue. The error message was produced when I ran the script inside cygwin, I was not 100% sure what the root cause was, but I guess it might be due to memory leak in the tools I used. After trying different versions of python, cvs and cygwin DLL, I still couldn't get rid of the error, but I was leaning towards that it was a problem in cygwin (or I didn't configure cygwin correctly). Then I decided to run the script in a pure Windows environment without using cygwin. There is not too much trouble except finding the correct 'sort.exe'(I ended up using the 'sort.exe' shipped with cygwin - even sort.exe in GNU core Unix util didn't work for me). Finally I reran the script, everything is fine. The end. Again, many thanks to whoever developed cvs2svn, it is a very good tool. Kevin -------------------------------------------------- From: "Michael Haggerty" <[email protected]> Sent: Wednesday, March 24, 2010 5:40 AM To: "Kevin (Qing) Wang" <[email protected]> Cc: <[email protected]> Subject: Re: OutofMemory in pass 16? > Kevin (Qing) Wang wrote: >> 1 [main] python 504 C:\UserApps\bin\python2.5.exe: *** fatal error >> - cmalloc would have returned NULL >> ERROR: The command 'cvs -q -R -f -d /cygdrive/c/workplace/vcs/ASA co >> -r1.1.1.1.2.2 -p Source_Code/DEV/Web/WebContent/xxxxxxx.jsp' >> failed with exit status=-1 >> and the following output: >> 1 [main] python 504 C:\UserApps\bin\python2.5.exe: *** fatal error >> - cmalloc would have returned NULL >> >> Can any one help point out what could go wrong? > > There was not enough available memory to run the cvs command that is > shown. It could be that your RAM + swap was really full, or it could be > that your virtual address space was exhausted (e.g., if you are running > this on a 32-bit system and using more than 2Gb or 4Gb). > > Try running the cvs command manually and see whether it can run to > completion by itself. Monitor how much memory it needed. Perhaps this > file contains enormous revision(s) or something? > > Alternatives: free up some memory by shutting down other programs, > configure more swap space, or find a bigger computer. > >> Can I restart pass 16 from a particular revision? E.g. in this case >> restart from r2696? > > You can restart at the beginning of pass 16 but not at a particular > revision. > > Michael > ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2464367 To unsubscribe from this discussion, e-mail: [[email protected]].