vsts - Java heap space error when migrating to Visual Studio Online using OpsHub Migration Tool -
i'm trying use opshub migration tool our source code onto visual studio online. partway through migration, progress page indicates error occurred , migration has halted, , yet process still continues run (ie - migration status still says it's running, , process manager indicates work still being done opshubtfsservice.exe process).
if click on hyper link in error message, opens popup dialog indicating there's been java heap space error of kind. looking closer @ running processes, can see java.exe process using on 2gb of ram. i'm running migration tool on windows 7 x64 machine 16gb of ram , loads of disc space free. source server running tfs 2013.
i've run tool few times now, , run same issue right @ same point during migration (xxxx/yyyy chageset(s)/label(s) passed). doesn't seem xxxx+1/yyyy, perhaps need let run longer it's chewing on large changeset of somekind.
any suggestions on how, or if it's possible passed error? should concerned it, or roll , see happens if let process continue?
by default migration utility restricted using 2gb of memory.
please follow following steps allow use more memory.
1) close application
2) go \opshub visual studio online migration utility\opshubserver6.0.16\bin (installation drive may be: c:\program files)
3) open service.bat in notepad. find following string "-xmx2048m". replace -xmx2048m -xmx4096m (or appropriate number max memory size)
4) save file
5) in same folder
run unregisterservice.bat administrator (which unregister opshub service. verify opening services.msc there no "opshub visual studio online migration utility" service)
run registerservice.bat administrator (which register opshub service. verify opening services.msc , there "opshub visual studio online migration utility" service "automatic" startup type)
6) open services.msc, right click on "opshub visual studio online migration utility" , click on properties, select startup type "manual" click on "apply"
7) start application use 4096m memory (4 gb) or whatever amount specified in step 3
Comments
Post a Comment