2.0.206 Memory leak when AUTO_COMPACT_FILL_RATE=0 and REUSE_SPACE=false
96 views
Skip to first unread message
Chin Wei Low
unread,
Jan 16, 2022, 12:55:16 PM1/16/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to H2 Database
Hi,
I am running H2 db with AUTO_COMPACT_FILL_RATE=0 and REUSE_SPACE=false in a long running process that will keep inserting some records to multiple tables and the heap memory keep increasing. I manually invoke GC and dump the heap and notice that chunksToC within MVStore is using a lot of memory.
Regards,
Chin Wei
Andrei Tokar
unread,
Jan 18, 2022, 8:50:51 PM1/18/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to H2 Database
This is exactly behaviour, I would expect, if you explicitely disable any space reuse. I wonder what was the size of the database file and how it's growth correlates with heap size increase?