Hi Joan,

It might be more appropriate to make a collection of 3000 items, one for each 
image. You can then make use of DSpace's facility of paged browsing etc to make 
the process more efficient.

If you are running XMLUI, you probably want at least 1GB of RAM in your server, 
as it is a lot more resource-intensive than the JSPUI.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


On 13/01/2010, at 3:22 AM, Joan Caparros wrote:

> Hi folks,
> I'm trying to work with an item which I ingested 3000 images.... (yes 
> know there are a lot... :P).
> My theme (manakin) seems to work fine with all the cases but ( here is 
> where my friend of 3000 pics appear ) in items with extra-large XML 
> seems to crash.
> The web loads but has some problems getting the thumbs, some of them 
> appear correct and others remain waiting... it takes some time til the 
> end of connection.
> Watching the dspace log for each pic "crashed" appears
> Jan 12, 2010 7:23:08 AM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet Cocoon threw exception
> java.lang.OutOfMemoryError: Java heap space
> 
> Ok java needs more space but I've tried all what I thought but I'm still 
> looking for the correct way to solve it. (JAVA_OPTS="-Xmx512M -Xms512M")
> 
> Due that, java takes all my cpu during this process.
> 
> Mem:    524468k total,   397660k used,   126808k free,    17872k buffers
> Swap:   524280k total,        0k used,   524280k free,   202548k cached
> 
> PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND  
> 1376 dspace    19   0  227m 129m  11m S 99.6 25.2  23:21.86 java   
> 
> Any one has an idea, why it's happening or how to solve it?
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to