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
I'm seeing occasionalJavascript heap out of memory errors when running a project's test suite. Frequency is about 1 in 100 times (estimated - I haven't yet measured this).
I have verbose logging enabled, and if the logging from that is output before the bad db interaction, the crash seems to happen at two specific points in the test suite:
running db.exec('DELETE FROM a;DELETE FROM b')
running db.prepare('SELECT ...').get([ param1, param2 ]); this is selecting 7 columns from a table containing less than 10 rows.
Before the crash, the process appears to hang for some time. I haven't yet timed this, but I'd guess in the order of 10s of seconds.
Is this a known issue? I could find a couple of similar previous issues, but neither seems directly relevant:
Environment
better-sqlite3
:v7.5.3
journal_mode = WAL
busy_timeout = 5000
synchronous = NORMAL
nodejs
:v16.17.1
Description
I'm seeing occasional
Javascript heap out of memory
errors when running a project's test suite. Frequency is about 1 in 100 times (estimated - I haven't yet measured this).I have
verbose
logging enabled, and if the logging from that is output before the bad db interaction, the crash seems to happen at two specific points in the test suite:db.exec('DELETE FROM a;DELETE FROM b')
db.prepare('SELECT ...').get([ param1, param2 ])
; this is selecting 7 columns from a table containing less than 10 rows.Before the crash, the process appears to hang for some time. I haven't yet timed this, but I'd guess in the order of 10s of seconds.
Is this a known issue? I could find a couple of similar previous issues, but neither seems directly relevant:
Example log
The text was updated successfully, but these errors were encountered: