bytecoin icon indicating copy to clipboard operation
bytecoin copied to clipboard

Build Problem Windows7x64

Open masterxsoft opened this issue 6 years ago • 5 comments

There is a Problem with LMDB on Windows, got it compiled successfully but everytime when i try to run the daemon i got this exception: "Exception in main() - Failed to open database C:\Users\master\AppData\Roaming\bytecoin/blockchain in mdb_env_open 112 There is not enough space on the disk."

System is Windows7 64 bit, over 40Gb free space on disk left, bytecoin was build with Visual Studio 2017, OpenSSL 1.1.0f, LMDB 2.4.46 and boost 1.67.0

masterxsoft avatar Jul 25 '18 08:07 masterxsoft

Hi is this OK for Windows ? C:\Users\master\AppData\Roaming\bytecoin/blockchain

backslashes and slash

ghost avatar Jul 25 '18 08:07 ghost

this works both in commandline & explorer, i don't think that this couses the problem

masterxsoft avatar Jul 25 '18 08:07 masterxsoft

try to start with --data-folder argument and locate to other partition. maybe there is not enough rights, did you tried to execute file with admin rights ?

ghost avatar Jul 25 '18 08:07 ghost

i already tried this and got same error message: "Exception in main() - Failed to open database D:\bytecoin/blockchain in mdb_env_open 112 There is not enough space on the disk."

masterxsoft avatar Jul 25 '18 08:07 masterxsoft

think the problem ocours in DBlmdb.cpp, if i change:
::mdb_env_set_mapsize(db_env.handle, max_db_size), "mdb_env_set_mapsize " to lmdb_check(::mdb_env_set_mapsize(db_env.handle, 5 * 1024 * 1024 * 1024), "mdb_env_set_mapsize "); it works

masterxsoft avatar Jul 25 '18 08:07 masterxsoft