Dear All

Thanks for you kind response and advices. I tried your suggestions and
succeeded to overcome the problem. I took following steps:

edited /etc/default/tomcat7 file and entered :

JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m
-Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m
-XX:MaxPermSize=256m -XX:+DisableExplicitGC"

It's working now. But I do have a question. I'm running this test dspace in
a machine with 1 GB physical RAM. Is this setting of JAVA_OPTS is right?


On Mon, Jul 13, 2015 at 11:22 AM, Shaun Donovan <sha...@teqcle.co.za> wrote:

> Dear Dr. Parthasarathi Mukhopadhyay
>
> Your log file is showing that you have not configured enough memory for
> DSpace to run.
>
> The documentation states:
>
> You need to ensure that Tomcat has a) enough memory to run DSpace and b)
> uses UTF-8 as its default file encoding for international character
> support. So ensure in your startup scripts (etc) that the following
> environment variable is set: JAVA_OPTS="-Xmx512M -Xms64M
> -Dfile.encoding=UTF-8"
>
> but I would suggest that you set Xms to 512M as well.
>
> My configuration for a machine that has 12G of memory is:
>
> CATALINA_OPTS="-Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs
> -Xmx5120M -Xms5120M -Dfile.encoding=UTF-8 -XX:+UseParallelGC
> -XX:+CMSClassUnloadingEnabled -XX:PermSize=512M -XX:MaxPermSize=512M "
>
>
> On 10/07/2015 21:01, P. S. Mukhopadhyay wrote:
>
>> Exception: java.lang.OutOfMemoryError thrown from the
>>
>
>


-- 
-----------------------------------------------------------------------
Dr. Parthasarathi Mukhopadhyay
Associate Professor, Department of Library and Information Science,
University of Kalyani,
Kalyani - 741 235 (WB), India
-----------------------------------------------------------------------
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to