I'm converting more than 5,000 mdb files into text using ucanaccess. conversion is in sequence i.e. i will start a connection and close it at the end using:
this will through OutOfMemoryError after 30-40 mdb files. analyzing the memory using visualvm, it seems that the memory is not released after each connection:
A part of memory is used by hsqldb until you shutdown the instances.
Use SingleConnection=true connection parameter to recover the heap space you need.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm converting more than 5,000 mdb files into text using ucanaccess. conversion is in sequence i.e. i will start a connection and close it at the end using:
this will through OutOfMemoryError after 30-40 mdb files. analyzing the memory using visualvm, it seems that the memory is not released after each connection:
the error is thrown when creating new connection
any help is appreciated
A part of memory is used by hsqldb until you shutdown the instances.
Use SingleConnection=true connection parameter to recover the heap space you need.
thanks, it solved the issue.