Hi Melisa,

On 04/02/13 15:59, Melisa Ong wrote:
When we run the filter-media function, we kept running into this out of memory error for some powerpoint files.

Has anyone encountered this error when running the filter-media for powerpoint files? 


Have you tried increasing the heap memory for the media filter? Assuming that you're running DSpace 1.7 or higher, you can change this in the [dspace]/bin/dspace file:
https://wiki.duraspace.org/display/DSDOC3x/Performance+Tuning+DSpace#PerformanceTuningDSpace-GivetheCommandLineToolsMoreMemory

Also it tends to halt the filter-media after the error is encountered. Is there a way to allow the command to detect(or prompt) the file/s with error and then continue to run for other files?


I don't think there is -- and especially not once the process has crashed due to lack of heap memory.

You could use the --skip option for items that you know are problematic, but even that doesn't sound doable for a large repository.

There's a somewhat ugly workaround though. The filter-media job will skip over items that it has already processed; it considers an item to have been processed when there is an appropriately-named text file in the TEXT bundle.. So you could just create an empty file with the appropriate name and put it into the item's TEXT bundle (that is, if your PPT file is called slides.ppt, call the empty file slides.ppt.txt). The filter-media task should then no longer try to extract text from that PowerPoint file.

My first step would be to increase the heap memory and see if that makes the media filter work for all existing items.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to