Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importar XTF a RIC #16

Open
guairo opened this issue Mar 2, 2023 · 0 comments
Open

Importar XTF a RIC #16

guairo opened this issue Mar 2, 2023 · 0 comments

Comments

@guairo
Copy link

guairo commented Mar 2, 2023

Buenas tardes, por mas que intento subir la memoria asignada al jar ili2pg-4.6.1.jar desde model baker no me deja y el XTF que intento importar es muy pesado (2GB) .

log:
"C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" -jar C:\Users\Jonhatan\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\QgisModelBaker\libili2db\bin\ili2pg-4.6.1\ili2pg-4.6.1.jar --import --dbhost localhost --dbport 5432 --dbusr postgres --dbpwd ****** --dbdatabase PREDIUM --dbschema ric_bello --coalesceCatalogueRef --createEnumTabs --createNumChecks --createUnique --createFk --createFkIdx --coalesceMultiSurface --coalesceMultiLine --coalesceMultiPoint --coalesceArray --beautifyEnumDispName --createGeomIdx --createMetaInfo --expandMultilingual --createTypeConstraint --createEnumTabsWithId --createTidCol --importTid --smart2Inheritance --strokeArcs --defaultSrsCode 2056 --modeldir "E:\BACKUP 2016\MODELO LADM_COL\UML RIC" E:/CINTELI/BELLO/XTF_BELLO_2022_10_31.xtf
Info: dburl jdbc:postgresql://localhost:5432/PREDIUM
Info: dbusr
Info: ili2pg-4.6.1-63db90def1260a503f0f2d4cb846686cd4851184
Info: ili2c-5.2.3-3ec7a10e9bacc87e149a14a7f11a6035e0481c69
Info: iox-ili-1.21.8-a6aee68136447c0616995e56888fa9c7ef362a77
Info: java.version 1.8.0_311
Info: user.name
Info: maxMemory 253440 KB
Info: currentTime 2023-03-02 16:07:22
Info: dbschema <ric_bello>
Info: dburl jdbc:postgresql://localhost:5432/PREDIUM
Info: dbusr
Info: databaseProduct
Info: databaseVersion <14.1>
Info: driverName
Info: driverVersion <42.2.18.jre6>
Info: postGISVersion <POSTGIS="3.1.4 3.1.4" [EXTENSION] PGSQL="140" GEOS="3.9.1-CAPI-1.14.1" PROJ="7.1.1" LIBXML="2.9.9" LIBJSON="0.12" LIBPROTOBUF="1.2.1" WAGYU="0.5.0 (Internal)" TOPOLOGY>
Info: compile models...
Info: lookup model <Modelo_Aplicacion_LADMCOL_RIC_V0_1> 2.3 in repository <E:\BACKUP 2016\MODELO LADM_COL\UML RIC/>
line 1:1: unexpected token: PK
Warning: E:\BACKUP 2016\MODELO LADM_COL\UML RIC\UML RIC.ili: failed to scan file (unexpected char: 0x3); file ignored
Info: lookup model <ISO19107_PLANAS_V3_0> 2.3 in repository <E:\BACKUP 2016\MODELO LADM_COL\UML RIC/>
Info: lookup model <LADM_COL_V3_1> 2.3 in repository <E:\BACKUP 2016\MODELO LADM_COL\UML RIC/>
Info: ilifile <E:\BACKUP 2016\MODELO LADM_COL\UML RIC\ISO19107_PLANAS_V3_0.ili>
Info: ilifile <E:\BACKUP 2016\MODELO LADM_COL\UML RIC\LADM_COL_V3_1.ili>
Info: ilifile <E:\BACKUP 2016\MODELO LADM_COL\UML RIC\Modelo_Aplicacion_LADMCOL_RIC_V0_1.ili>
Info: process data file...
Info: data <E:/CINTELI/BELLO/XTF_BELLO_2022_10_31.xtf>
Info: assume unknown external objects
Info: first validation pass...
Info: Basket Modelo_Aplicacion_LADMCOL_RIC_V0_1.RIC(oid Modelo_Aplicacion_LADMCOL_RIC_V0_1.RIC)...
Exception in thread "main"
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.grow(Unknown Source)
at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at java.io.OutputStream.write(Unknown Source)
at ch.ehi.iox.objpool.impl.btree.BTree.getNode(BTree.java:107)
at ch.ehi.iox.objpool.impl.btree.BTree.search(BTree.java:201)
at ch.ehi.iox.objpool.impl.btree.BTree.search(BTree.java:201)
at ch.ehi.iox.objpool.impl.btree.BTree.get(BTree.java:184)
at ch.ehi.iox.objpool.impl.BTreeImpl.containsKey(BTreeImpl.java:89)
at ch.interlis.iox_j.validator.LinkPool.increaseCounter(LinkPool.java:61)
at ch.interlis.iox_j.validator.LinkPool.addLink(LinkPool.java:37)
at ch.interlis.iox_j.validator.Validator.validateObject(Validator.java:3224)
at ch.interlis.iox_j.validator.Validator.validate(Validator.java:352)
at ch.ehi.ili2db.fromxtf.TransferFromXtf.doit(TransferFromXtf.java:618)
at ch.ehi.ili2db.base.Ili2db.transferFromXtf(Ili2db.java:2335)
at ch.ehi.ili2db.base.Ili2db.runUpdate(Ili2db.java:743)
at ch.ehi.ili2db.base.Ili2db.run(Ili2db.java:209)
at ch.ehi.ili2db.AbstractMain.domain(AbstractMain.java:639)
at ch.ehi.ili2pg.PgMain.main(PgMain.java:72)
Finished (1)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant