Open fmmontieng opened 1 month ago
Is it the server that crashes? is_autocommit=True might change something.
Is it the server that crashes? is_autocommit=True might change something.
Yes, it's the server. I will try it.
@nakagami Unfortunately this hasn't solved the problem.. still crashing.
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?
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