Page 1 of 1

Bigger Map

PostPosted: Fri Mar 08, 2013 23:38
by ch98
I heard that minetest map can not hold more than 4GB. Is it possible to fix that?


VanessaE wrote:The mapgen bug that is occurring now has nothing to do with the amount of memory or hard disk space on the server.  It is a problem with the way the map data is stored - as SQLite files.  At 4GB and above, SQLite doesn't function reliably, leading to corrupted maps.

PostPosted: Sat Mar 09, 2013 01:47
by 0gb.us
ch98 wrote:I hard that minetest map can not hold more than 4GB. Is it possible to fix that?


VanessaE wrote:The mapgen bug that is occurring now has nothing to do with the amount of memory or hard disk space on the server.  It is a problem with the way the map data is stored - as SQLite files.  At 4GB and above, SQLite doesn't function reliably, leading to corrupted maps.


At this time, there is no official way to fix that. There is a branch on Github focused on fixing that though, so all we can do is wait (or join in, for those that have C++ skills).

PostPosted: Sat Mar 09, 2013 10:53
by Casimir
0gb.us wrote:There is a branch on Github

Link?

PostPosted: Sat Mar 09, 2013 13:04
by Jordach
Level-DB is the branch I believe you are looking for.

OldCoder's servers operate on this.

PostPosted: Mon Mar 11, 2013 22:25
by ch98
Jordach wrote:Level-DB is the branch I believe you are looking for.

OldCoder's servers operate on this.


Why don't they put that in official minetest? is it too slow or buggy?

PostPosted: Tue Mar 12, 2013 07:49
by Jordach
It works fine for everyone, the problem is upgrading all the SQL users to the new format, since the maps are not compatible.

PostPosted: Tue Mar 12, 2013 09:12
by 0gb.us
Jordach wrote:It works fine for everyone, the problem is upgrading all the SQL users to the new format, since the maps are not compatible.


From what I've read, the LevelDB update comes with a way to translate a map between any two supported databases though, including the current SQLite. And I hear that works well, too.

PostPosted: Tue Mar 12, 2013 14:18
by Jordach
Yeah, but you try making an app like this on losedows.