Unable to export a db

When trying to export an existing db with schema only using the command
export database <dbname> -excludeAll -includeSchema

i’am receiving:

Exporting current database to: database <dbname> -excludeAll -includeSchema in GZipped JSON format ...

Error: java.lang.IndexOutOfBoundsException: Index: 0

And all data usingorientdb {db=<dbname>}> export database <dbname> :

Exporting current database to: database in GZipped JSON format …

Started export of database ‘’ to .json.gz…
Exporting database info…OK
Exporting clusters…OK (135 clusters)
Exporting schema…OK (42 classes)
Exporting records…

  • Cluster ‘internal’ (id=0)…OK (records=3/3)
  • Cluster ‘index’ (id=1)…OK (records=0/0)
  • Cluster ‘manindex’ (id=2)…OK (records=0/0)
  • Cluster ‘default’ (id=3)…
    Error: java.lang.OutOfMemoryError: Java heap space

What am I doing wrong?

OrientDB Version is 3.0.13 running in a docker image (kubernetes)

update: OK the outofbound exception occured because i forgot to set the “includeSchema” param to “true”

The other problem still persists