You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And only when the query finishes, the result set is returned and the stream starts.
This behavior makes my application fail by OOM and can't handle streaming of large results.
This is not a feature currently supported by the client, but there is an open issue about this: mauricio/postgresql-async#108
It would have been very useful for me to have a warning about this problem on the documentation before starting to code. Please consider adding it until fixed.
The text was updated successfully, but these errors were encountered:
AsyncSQLRowStream leeks memory because when making a query that returns a lot of rows, every row is stored inside the result set:
io.vertx.ext.asyncsql.impl.AsyncSQLRowStream
com.github.mauricio.async.db.general.MutableResultSet
And only when the query finishes, the result set is returned and the stream starts.
This behavior makes my application fail by OOM and can't handle streaming of large results.
This is not a feature currently supported by the client, but there is an open issue about this:
mauricio/postgresql-async#108
It would have been very useful for me to have a warning about this problem on the documentation before starting to code. Please consider adding it until fixed.
The text was updated successfully, but these errors were encountered: