svn-all-fast-export / svn2git

:octopus: A fast-import based converter for an svn repo to git repos
GNU General Public License v3.0
262 stars 100 forks source link

Memory Issue std::bad_alloc error #154

Closed danielducharme closed 9 months ago

danielducharme commented 9 months ago

I am working through taking old business code for our legacy application from VSS to Git. As the first step I took VSS to SVN successfully and now I am trying to get SVN over to Git and running into errors. This is the third tool I am trying to use as I have had issues with every tool I try.

In particular with this tool, I am getting the error as follows: +++++++++++++++++terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

Any help or suggestions would be appreciated.

Here is the text of the dump file: fast-import crash report: fast-import process: 17194 parent process : 1833 at 2024-01-15 01:03:03 +0000

fatal: EOF in data (19968 bytes remaining)

Most Recent Commands Before Crash

data 251891 blob mark :18446744073702278578 data 251501 blob mark :18446744073702278577 data 250754 blob mark :18446744073702278576 data 155136 blob mark :18446744073702278575 data 173568 blob mark :18446744073702278574 data 171520 blob mark :18446744073702278573 data 182784 blob mark :18446744073702278572 data 154624 blob mark :18446744073702278571 data 162816 blob mark :18446744073702278570 data 165888 blob mark :18446744073702278569 data 159232 blob mark :18446744073702278568 data 153600 blob mark :18446744073702278567 data 176889 blob  mark :18446744073702278566 data 182526 blob mark :18446744073702278565 data 179800 blob mark :18446744073702278564 data 166998 blob mark :18446744073702278563 data 157696 blob mark :18446744073702278562 data 145408 blob mark :18446744073702278561 data 147968 blob mark :18446744073702278560 data 202752 blob mark :18446744073702278559 data 175616 blob mark :18446744073702278558 data 151040 blob mark :18446744073702278557 data 154624 blob mark :18446744073702278556 data 156160 blob mark :18446744073702278555 data 165888 blob mark :18446744073702278554 data 155136 blob mark :18446744073702278553 data 31232 blob mark :18446744073702278552 data 35328 blob mark :18446744073702278551 data 222720 blob mark :18446744073702278550 data 193024 blob mark :18446744073702278549 data 196096 blob mark :18446744073702278548 data 154624 blob mark :18446744073702278547 data 146944 blob mark :18446744073702278546

Active Branch LRU

  active_branches = 0 cur, 5 max

pos clock name



Inactive Branches
------------------
refs/heads/master:
   status           :
   tip commit    : 9c67bef944728ef672da4e57fff98ebb42eea4d1 
   old tree         : 520b31166a4f77a2dfcbfef9204ed76be8624aca
   cur tree         : 520b31166a4f77a2dfcbfef9204ed76be8624aca 
   commit clock: 0
   last pack       :

Marks
-------
   exported to marks-vss2007

-----------------------
END OF CRASH REPORT
danielducharme commented 9 months ago

The commits this was failing on were the Label entries in VSS. I am fine losing them so I wrote rules to exclude each of my label commits and was able to get through the project.