Handling random PDFs is very error prone. The PDFs may be subtly broken or 
very large. 

On DSpace 6 we use command lines like:

JAVA_OPTS=-Xms312M -Xmx2000M nice /rep1/dspace/bin/dspace filter-media ....

The "JAVA_OPTS=-Xms312M -Xmx2000M" portion allocates more than the default 
memory to the process.

The "nice" portion lowers CPU priority.

cheers
stuart

On Tuesday, 21 November 2023 at 22:39:49 UTC+13 Salony Permanand wrote:

> 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
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/0ffba878-c545-4545-b260-f27aa3952555n%40googlegroups.com.

Reply via email to