简体   繁体   中英

Liquibase, “Migration Failed: Java heap space” error when generateChangeLog with “data”

I am trying to create a baseline on one of my development database using liquibase, here's my environment - Database, -> Oralce 10g, with 500+ Tables with lots of configuration data, the oracle export dump file is about 70mb; - Java - Java 6 - Oracle JDBC Driver - ojdbc14.jar (downloaded from Oracle web site) - 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

What other options I have in oder to create base line for my development projects, so that we could start version control our db..

Appreciate ur advise, thanks!

James

Which version of liquibase are you using? There has been some improvements in the performance of the diff support in the upcoming 2.0. The latest build can be gotten from http://liquibase.org/ci/latest (once the bamboo server is fully upgraded)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM