PDA

View Full Version : db.xml filling with nul characters



Bolstaf
June 17th, 2021, 18:24
Is there any inherent DB size limit?

My Gauntlight Campaign DB is currently 4.7MB for 95k lines and twice in the past month it has been corrupted around line 81K in the <settings. <token light> section. <id-00 is not terminated and the balance of the DB has been replaced with NULs. A lot of them.....

Needless to say, FGU cannot digest this content. LOL

Any thoughts, suggestions?

Trenloe
June 17th, 2021, 19:07
I've moved this post to it's own thread in the House of Healing - Unity sub-forum, which is the best place for reporting issues like this.

LordEntrails
June 17th, 2021, 19:37
Does this reproduce with a new campaign with no extensions? Sounds like it is probably caused by a flawed extension. From the launch window you can get to the console (top left button). From their a Compile Logs and attach logs here.

Other troubleshooting advice in my signature.

nephranka
June 17th, 2021, 20:03
Is there any inherent DB size limit?

My Gauntlight Campaign DB is currently 4.7MB for 95k lines and twice in the past month it has been corrupted around line 81K in the <settings. <token light> section. <id-00 is not terminated and the balance of the DB has been replaced with NULs. A lot of them.....

Needless to say, FGU cannot digest this content. LOL

Any thoughts, suggestions?

My world building DB is 10 MB but I found for games to run smoothly I need a DB for the session to be <3 MB and normally around 1 MB.

Trenloe
June 17th, 2021, 20:12
@Bolstaf - are you using any backup/cloud sync application on your Fantasy Grounds data?

Bolstaf
June 17th, 2021, 20:39
Ack.....

Nope, and the file is in the designated place in roaming\Smiteworks\Fantasy Grounds etc

I do manually copy the directory to a network attached storage drive just as a backup safety measure.

Bolstaf
June 17th, 2021, 20:59
On checking the previous corruption I found that it had a somewhat different profile: In that case the corruption was at line 41685 in the <token><fow><points> tag.

There is an array of points that abruptly changes to a continuous set of NULs for the balance of the file, all one line.

Bolstaf
June 17th, 2021, 21:17
My world building DB is 10 MB but I found for games to run smoothly I need a DB for the session to be <3 MB and normally around 1 MB.

The only downside that I have detected so far is that the initial GM load time is noticeably longer.