Bitcoin Forum

Bitcoin => Armory => Topic started by: ar9 on May 16, 2014, 05:46:17 AM



Title: 41GB of space? Help me out...
Post by: ar9 on May 16, 2014, 05:46:17 AM
My Roaming/Armory is 21GB (Database folder contains 20.2 GB).
My Roaming/Bitcoin is 20GB.

Can I delete one of these two?

Also, easy way to migrate all of this onto my external HD?  Right now it's on my SSD and it's running out of space.

Please let me know.  Walkthrough if possible because I am not the greatest with this stuff


Title: Re: 41GB of space? Help me out...
Post by: omegaflare on May 16, 2014, 08:38:08 AM
on your armory icon shortcut, make a refer via target box --datadir="O:\Armory\<your database folder>" (with or without quote, not sure). This will tell the Armory to redirect all of its secondary database to that targeted HDD.

Seems to be working.. try it. I may not have the correct pathname I input above after Armor\ <....>. I am on Debian right now -- sorry about that.


Title: Re: 41GB of space? Help me out...
Post by: omegaflare on May 16, 2014, 08:39:13 AM
Download is dookishly long.. so bear with it.


Title: Re: 41GB of space? Help me out...
Post by: ar9 on May 16, 2014, 01:46:38 PM
on your armory icon shortcut, make a refer via target box --datadir="O:\Armory\<your database folder>" (with or without quote, not sure). This will tell the Armory to redirect all of its secondary database to that targeted HDD.

Seems to be working.. try it. I may not have the correct pathname I input above after Armor\ <....>. I am on Debian right now -- sorry about that.

So I would direct it to my new "Roaming" folder?


Title: Re: 41GB of space? Help me out...
Post by: omegaflare on May 19, 2014, 01:08:16 AM
--dbdir - will that work? That's what I use and it seems to be working as intended.

Use the --dbdir="mypath" command line argument to specify Armory's DB dir
You can also use --datadir="mypath" to move the entire datadir (setting files, wallets and DB)

All armory command line arguments and their associated tooltips can be found at the top of armoryengine/ArmoryUtils.py

Now I understand. If you haven't downloaded the entire blockchain YET, use --dbdir to refer Armory to download the blockchain to the specified HDD. However, if you already have the blockchain on the HDD and want to move to a different HDD then use --datadir.

Better?


Title: Re: 41GB of space? Help me out...
Post by: Diagonal on May 28, 2014, 10:10:04 AM
Not meaning to hijack the thread, but I have the same question for ubuntu.

I have 21GB in ~/.bitcoin/blocks.  I also have 23GB in ~/.armory/databases.  Optimally, I'd like to leave the .bitcoin/* where they are, and point armory to them.  I'm not sure if this is possible given that armory has an extra 2GB in that databases directory?  Also, bitcoin calls these files ".dat"s, where armory calls them ".ldb"s.  Nevertheless, I can't believe that we have to keep two copies of the chain.  Can someone tell me how to get rid of one?

Thx/D


Title: Re: 41GB of space? Help me out...
Post by: halfawake on June 02, 2014, 11:22:25 PM
Not meaning to hijack the thread, but I have the same question for ubuntu.

I have 21GB in ~/.bitcoin/blocks.  I also have 23GB in ~/.armory/databases.  Optimally, I'd like to leave the .bitcoin/* where they are, and point armory to them.  I'm not sure if this is possible given that armory has an extra 2GB in that databases directory?  Also, bitcoin calls these files ".dat"s, where armory calls them ".ldb"s.  Nevertheless, I can't believe that we have to keep two copies of the chain.  Can someone tell me how to get rid of one?

Thx/D

Unfortunately, right the answer is you can't.  I believe etotheipi had to make a tradeoff between RAM use and hard drive use since the old version of Armory used so much RAM that it was unusable for most people.  This is why I don't run Armory most of the time right now.  But I'm thinking of buying a terabyte hard drive that later on to stick the blockchain and Armory's version of it on that drive so I just won't have to worry about space for a while.

Technically though, there is one way to get rid of it, if you're willing to downgrade to an old version of Armory.  Use the old version of Armory, if you have enough RAM to use it without any problems.  I believe the RAM intensive version of Armory is 0.86 or so.  Unfortunately, I don't see a version of it on bitcoinarmory.com (https://bitcoinarmory.com/).  I might still have the installer for it though, I'd be happy to check if you're interested.

Update: I do have an old version of the installer, my oldest installer is 0.88 which I think is early enough to be a RAM intensive version, despite what I said previously, but unfortunately it won't help you out, as it's a Windows installer.  If anyone else wants it though, I'd be happy to send it over.