Skip to content

Commit

Permalink
Limit the SingleStore max cached blob size to prevent out-of-memory e…
Browse files Browse the repository at this point in the history
…rror (#2395)
  • Loading branch information
horbe authored Oct 20, 2023
1 parent 78b1683 commit 514d1bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public void setup()
Statement statement = connection.createStatement())
{
statement.execute("create schema if not exists " + DATABASE_NAME + ";");
statement.execute("SET GLOBAL maximum_blob_cache_size_mb = 1024");
}
catch (Exception e)
{
Expand Down

0 comments on commit 514d1bb

Please sign in to comment.