Hi,

I think we'd need more information on the exact command you are running.  
You also should check your logs to see if errors are occurring *before* the 
Java heap issue.  See our troubleshooting guide: 
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

I'm not aware of a memory issue in the "dspace oai import" command.  But, 
it is always possible that you've encountered a new/undiscovered issue with 
the command.  So, we need to understand exactly what command you are 
running in order to see if others can reproduce the issue.

Based on what you've shared so far, it does sound like you might be 
encountering some sort of bug (especially if it worked fine in 7.5 but the 
same command isn't working in 7.6.1).  So, you are also welcome to share 
the detailed information in a bug ticket (
https://github.com/DSpace/DSpace/issues), and we can then look for 
volunteers to investigate what might be going on.

Tim
On Tuesday, June 25, 2024 at 4:11:35 PM UTC-5 [email protected] 
wrote:

> Dear colleague,
>
> I applied the fix for the Java heap memory issue, setting it to 4 GB, but 
> it is not sufficient. When indexing 20k items, it crashes. I also tried 
> this on another instance of DSpace version 7.6.1 and the same thing happens.
>
> Em segunda-feira, 17 de junho de 2024 às 18:16:38 UTC-3, Holger Lenz 
> escreveu:
>
>> Hi there,
>>
>> Are you experiencing the error  " java.lang.OutOfMemoryError: Java heap 
>> space",  or it is it a different error?
>>
>> If it is the former, there is documentation on that (most likely a memory 
>> issue): 
>> https://wiki.lyrasis.org/display/DSDOC7x/Performance+Tuning+DSpace 
>> (subheading "Performance Tuning the Backend (REST API)")
>>
>> Please let us know if this doesn't point you in the right direction.
>>
>> Holger
>>
>>
>>
>> On Monday, June 17, 2024 at 10:23:18 AM UTC-4 [email protected] 
>> wrote:
>>
>>>   Dear Collegues, 
>>>
>>> I am having a problem when trying to index the metadata using OAI 
>>> import. In version 7.5, I was able to import all 42,000 items from the 
>>> digital library. I installed version 7.6.1, and now when I try to run the 
>>> command, I can only index 1/3 of the total, and it generates a Java heap 
>>> error. Does anyone know if this is a common issue with version 7.6.1?
>>>
>>>
>>> Thanks advanced.
>>>
>>>

-- 
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/f543007c-5190-4943-8983-d70761ca1e13n%40googlegroups.com.

Reply via email to