-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DB crash on Memory Full #111
Comments
Is it the server that crashes? |
Yes, it's the server. |
@nakagami The other thing that I observed is that as soon as I close the script RAM occupied by the SQL server drop drastically. |
If you want to send the data to the sensor every 30 s, shouldn't you just connect, insert, and close each time? |
That's what I have done, I think is the best solution. Looks like it work properly like this.. |
Hi, sorry to bother you, but I've encountered an issue after starting to use the library (thanks a lot for your work!).
I am currently using Firebird 2.5 (I know it's old, but I can't change it at the moment).
I have a simple class that collects data into a list, and every 30 seconds, it uploads all the data to the database. This is the only program that causes my database to crash, but I can't figure out why.
The error states that it can't allocate memory, and the database ends up consuming a lot of RAM on the PC. This happens after about 24 hours of running the program, and the issue goes away as soon as I close the script.
This is my code:
Maybe I just made some big mistake and I'm missing something.
Thanks for the help.
Matteo
The text was updated successfully, but these errors were encountered: