Working with SQLite in Go
Out of memory error
An out of memory error is most likely caused by a nil pointer deference somewhere in the database handler code. It means that somewhere in the code the
*sqlx.DB pointer is used to perform a database operation while it points to nil.