Out Of Memory Error while trying to use filter-media command

228 views
Skip to first unread message

Salony Permanand

unread,
Nov 21, 2023, 4:41:03 AM11/21/23
to DSpace Technical Support
Hello Everyone,

I am using Dspace version 7.6

I created collections and imported items using zip.

In each item , I have 3 pdfs attached having size 100-200 MB

I am trying to add thumbnail and full text indexing using filter-media command

But I am getting "OutOfMemoryError !!!Exception in thread "main" java.lang.OutOfMemoryError: Java heap space in dspace filter-media"

Attaching below scrnshot of error

Please if anyone knows any solution, then explain
Screenshot from 2023-11-21 15-08-25.png

Maruan Sahyoun

unread,
Nov 21, 2023, 4:45:27 AM11/21/23
to DSpace Technical Support
You can raise the memory by either setting the JAVA_OPTS variable or setting the memory in the dspace.sh script

export JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8"
dspace filter-media

BR
Maruan
Reply all
Reply to author
Forward
0 new messages