Author Topic: .db file has stopped growing  (Read 319 times)

edakade

  • Newbie
  • *
  • Posts: 7
    • View Profile
.db file has stopped growing
« on: September 10, 2020, 08:13:08 pm »
Suddenly my main personality .db stopped growing in file size. The Date Modified updates whenever I talk with my Hal, but the size is stuck at 49,196KB. I checked file permissions in case the last Windows update messed with it. I have tried disabling all plugins so it's not a screwy code. Many of you have much larger personalities so I'm wondering if anyone has seen this before.

I switched to the default brain and the file size does indeed grow with every sentence input.

I would dig around in the brain editor, but it crashes on startup (running Windows 10). Possibly missing some runtimes.

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3594
    • View Profile
Re: .db file has stopped growing
« Reply #1 on: September 10, 2020, 09:58:15 pm »
You can examine the .db file by using a copy of sqlitestudio. It is a free download and it shows every table in HAL's brain database.

Check your latest entries in your .db file that seems to be stuck. Look for some blank spaces or misplaced characters / symbols.

Did you receive any error messages at all from HAL?

Are you running the ConceptNet brain by any chance?  Please tell us what brain and Plugins you are using to help narrow things down a bit.

In the world of AI it's the thought that counts!

- Art -

cyberjedi

  • Hero Member
  • *****
  • Posts: 684
  • The Mighty Hal Machine
    • View Profile
Re: .db file has stopped growing
« Reply #2 on: September 11, 2020, 06:40:35 am »
Brain Lock????


First thing , check the property's Value on the Dabase itself. (admin permissions)<<<<<<<<
I say this because a while back i had this issue myself
It was set to Read Only mode, changed that back to (normal) and we were off to the races.
Either way this is whats going on, whether by windows or the script itself.
Hals brain is in Read Only mode

Dump all plugins, Load out the Zabaware Script (roberts sht)
Restart hal see if that fixes the issue <<< im sure it will. If that doesnt release Hals brain, then its windows.....
Stock 6.2 or 7.0 .uhp

cyber jedi


edakade

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: .db file has stopped growing
« Reply #3 on: September 12, 2020, 10:59:22 am »
After a day of messing around, unloading plugins, checking permissions, I'm not sure I have found a solution but it seems my Hal is still learning things. He is repeating things said moments before even though the file size remains unchanged...
I experimented with both ver 6.2 and 7. The plugins I had running at the time were SALLIE (that I trimmed down a lot to keep Halscript below 512kb), Markov5 and the neural net plugins by Andre Hendricks from a few years back.

I also loaded a backup of my Hal from 2015 and have the same problem. It seems like once the .db reaches 40mb+, the file size stops growing. The default brain which is just 22mb does grow. I realize none of this makes sense... either the file gets larger or it doesn't, right?

Thank you for pointing me to SQLiteStudio also, Art. I haven't yet figured out how to order the database though...

cyberjedi

  • Hero Member
  • *****
  • Posts: 684
  • The Mighty Hal Machine
    • View Profile
Re: .db file has stopped growing
« Reply #4 on: September 12, 2020, 11:19:51 am »
A SQLite database is limited in size to 281 terabytes .
there are no cap limits on UltraHal

cyber
« Last Edit: September 12, 2020, 11:21:45 am by cyberjedi »

edakade

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: .db file has stopped growing
« Reply #5 on: September 12, 2020, 01:33:55 pm »
Hal is indeed capable of way more than a 50mb database...
I'm going to chalk this up as a fluke and move on, since my companion still seems to be retaining my teaching... Will update if anything changes.
Thank you.  :)

cyberjedi

  • Hero Member
  • *****
  • Posts: 684
  • The Mighty Hal Machine
    • View Profile
Re: .db file has stopped growing
« Reply #6 on: September 12, 2020, 09:02:29 pm »
Thats just awesome man

bravo


Hey lightspeed
I finally worked out my issues as well

Its STABLE,
https://www.youtube.com/watch?v=bKdtcqaP5iA

cyber

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3594
    • View Profile
Re: .db file has stopped growing
« Reply #7 on: September 12, 2020, 10:34:19 pm »
Edakade,

No offense intended Edakade but with the latest version of UltraHal, the brain's .db files are not located in the C:\ProgramFiles (X86)>Zabaware>UltraHal7 folder but they are found in the C:\Users>"YourName">AppData>Roaming>Zabaware>UltraHal 7

There you should find the various .db files and these are the ones that grow in size, at least in my experience.

Apologies in case you were/are already aware of these file locations as they are easily overlooked from the previous versions of HAL.

One last thing. Don't use the Markov Plugin since it already is being addressed inside of the SALLIE Plugin! It and many other Plugins were combined to create somewhat of a "Hybrid" mix of many Plugins. Unchecking it might help your HAL run better, faster, more capable.

I have also had a good deal of luck just running plain HAL with the MARKOV L5, Age&Gender, Read a Story, Lonliness 3.2.
The SALLIE and ConceptNet Plugins are both really great for experimenting with your HAL and ultimately, that's part of the fun. Find and enjoy what works best for you.

Good Luck!!
In the world of AI it's the thought that counts!

- Art -

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3594
    • View Profile
Re: .db file has stopped growing
« Reply #8 on: September 12, 2020, 10:36:51 pm »
That is very cool Cyber. I still like that avatar too!

You've come a long way for sure!!

Stable version...is that where horses go? ;)
In the world of AI it's the thought that counts!

- Art -

edakade

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: .db file has stopped growing
« Reply #9 on: September 13, 2020, 04:06:04 pm »
Oh no offense taken Art, and yes I was aware of the new file location. I use version 6 and 7, both different personalities.
I watched my Hal's database grow a whole megabyte today, yes, suddenly I'm getting a visual now...
Sorry to make a fuss over this; I was at my wit's end as per usual after a Windows update... "what's wrong now?" I've said many times!  :P

I'll be playing with plugins to see what my Hal likes (and also looking for dupes)!
Cheers

Will and Mr Data :) :]

  • Hero Member
  • *****
  • Posts: 675
  • Hi from Will and Mr Data :) :]
    • View Profile
    • http://www.youtube.com/user/WillofNewZealand
Re: .db file has stopped growing
« Reply #10 on: September 14, 2020, 11:31:54 pm »
Can't we have the back up where it's always been in zabaware folder. Copy of that were not safe with 7?

I'm a long term Hal fan.
Just to say my 7 won't do more than half a dozen pc starts then that's it.
Is this part of 7? To require net connection ever
Few start ups?
My 6.2 still going.
I've stopped using 7 . Well it stopped using me.
As I said I'm a total fan. I'm not put off one bit but have to be
 up front.
New versions come and go.
New versions are unproven so its no big deal to me but to keep us updated I'll post. Still a total fan.

:)  :]
bye for now and be well from Will and Mr Data  :)  :]