Liquibase failing because of excessive array length

I have a bunch of sql files and 1 xml file containing databasechangelog for all sql files. On a local environment where the size of sql files are less, the changesets are executing correctly and working as expected but on a testing evironmnent where i have huge data with some sql files containing over 3Gb of data, I’m running into this error even before the first changeset gets executed. Any inputs are appreciated
Error:
hStarting Liquibase at 03:51:11 using Java 17.0.12 (version 4.29.2 #3683 built at 2024-08-29 16:45+0000)
Liquibase Version: 4.29.2
*Liquibase Open Source 4.29.2 by Liquibase

WUnexpected error running Liquibase: Required array length 2147483638 + 10 is too large

could you please share the exact steps to recreate the error. Also provide the details of database used. If possible, I’ll try to recreate the same scenario here also. After that, may be I’ll be able to give some help.