Dear Dspace Team


I have tried increasing memory size in java configuration file but I
still get this error when I want to create image thumbnails, any idea on
what I can do to erase this error for good?



-bash-3.00$ ./dspace filter-media



Exception: Java heap space

java.lang.OutOfMemoryError: Java heap space

        at java.awt.image.DataBufferByte.<init>(DataBufferByte.java:58)

        at
java.awt.image.ComponentSampleModel.createDataBuffer(ComponentSampleMode
l.java:397)

        at java.awt.image.Raster.createWritableRaster(Raster.java:938)

        at
javax.imageio.ImageTypeSpecifier.createBufferedImage(ImageTypeSpecifier.
java:1056)

        at
javax.imageio.ImageReader.getDestination(ImageReader.java:2879)

        at
com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReade
r.java:980)

        at
com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:9
48)

        at javax.imageio.ImageIO.read(ImageIO.java:1422)

        at javax.imageio.ImageIO.read(ImageIO.java:1326)

        at
org.dspace.app.mediafilter.JPEGFilter.getDestinationStream(JPEGFilter.ja
va:67)

        at
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilt
erManager.java:737)

        at
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilte
rManager.java:561)

        at
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterMana
ger.java:511)

        at
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilt
erManager.java:479)

        at
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(Media
FilterManager.java:414)

        at
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.ja
va:333)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)

-bash-3.00$



Regards,

Lewatle


<html><p><font face = "verdana" size = "0.8" color = "navy">This communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary.</font></p></html>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to