Hi DSpace commiters and advanced tech users,
 
would it be helpful for large scale import and repositories to do some 
Item.decache() calls during the process? I'm very concerned about the fact that 
each time an instance of org.dspace.content.Item is created, it seems to be 
automatically put in the Context cache.
 
I've done a search about the decache() method calls and it seems to be used 
only by MediaFilterManager and DSIndexer. 
 
It could be a problem too for the DSpace web interface : does it means that 
every time we access an Item, it creates an instance of this object and puts it 
in the cache, and to be never removed as long as the user's session is still 
alive? Could someone confirms if that is actually the case?
 
If it is, we should maybe check if the decache() method could be used more 
often. It would certainly help large repositories having items with a lot of 
bitstreams...

________________________________

De: [EMAIL PROTECTED] de la part de ????
Date: mer. 2007-06-06 07:58
À: dspace-tech@lists.sourceforge.net
Objet : Re: [Dspace-tech] dsrun data register trouble



 Dear Lewis,

> > We have a memory problem and we can not register our
> repository data properly.
> >  If somebody knows anything about the similar problem,
> please let us know.
> > The problem is as follows.
> > During the data registration using "dsrun" utility, the memory
> > resource is  constantly consumed and finally the process
> stops because
> > of the out of  memory.It happens even if the data is only
> about several thousand.
> > But our collection is up to hundred thousand or mor.
> > We use Dspace Ver1.4.
>
> Which dsrun script are you running? What is the full command you use?

We executed like this;

?/usr/local/dspace/bin/dsrun org.dspace.app.itemimport --add [EMAIL PROTECTED]
--collection=26 --source=/home/porta/install/070410/akita_d/xml_kyoudo
--map=/home/porta/install/070410/mapfile/mpf_akitad01

With regards.
-----------
Mitsuhiko Horii
[EMAIL PROTECTED]



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to