Error: java heap space: migration Failed


Hi

I am trying to export the database to one change log file, here’s my environment
- Database, -> postgresql, with 500+ Tables with lots of configuration data
- Command line execute
liquibase --changeLogFile=base.changelog.data.xml --diffTypes=“data”  generateChangeLog

Execute result:
- Liquibase is configure to run with “-Xmx512m -Xms256m” jvm parameters, fail, error message - “Migration Failed: Java heap space

- configure to run with “-Xmx1024m -Xms512m”, same error occurs
- configure to run with “-Xmx2048 -Xms512m”, same error
 Note: we can take small database it works but we can take large database it not work
please give the solution or any other procedure  to export the data using liquibase tool as soon as possible because now we are use them to my project.
Thanks and Regards
thanuku

There is some memory inefficiencies that need to be resolved with dumping large amounts of data. Beyond setting a sufficiently large Xmx heap size, I don’t know if there is much that can be done until that issue if fixed, unfortunately.


Nathan