Hi Baseer,

If you have more memory available on the machine then allocate it to Tomcat. 
These are our settings, although we are running a number of installations of 
Dspace...

JAVA_OPTS="-Xms3072m -Xmx3072m -XX:PermSize=256m -XX:MaxPermSize=256m...

Cheers.



Robin Taylor
Main Library
University of Edinburgh
Tel. 0131 6513808  

> -----Original Message-----
> From: Khan, Baseer [mailto:[email protected]] 
> Sent: 09 September 2009 21:41
> To: [email protected]
> Subject: [Dspace-tech] Java out of memory error : urgent plz
> 
> Hello ,
> 
> We have recently run the Dspace statistics on the server , 
> since then the website is going on and off , 
> 
> It generally gives the java language out of memory error http 500 , 
> 
> When I searched for it  shows me the memory needs to be 
> increased for tomcat ,
> 
> This is the output of the free command on the server 
> 
>  
> 
> free -m -t
> 
>              total       used       free     shared    
> buffers     cached
> 
> Mem:   1004        702        302          0         18        361
> 
> -/+ buffers/cache:        322        681
> 
> Swap:         1992        124       1868
> 
> Total:        2996        826       2170
> 
>  
> 
>  
> 
> The java opts in the /etc/profile is 
> 
> JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8"
> 
>  
> 
> So can anyone suggest me what is the best thing I need to do ,
> 
> Do I add additional RAM to the server or increase the memory stubs .
> 
> Please advise .
> 
>  
> 
> Thank you,
> 
> Baseer.
> 
>  
> 
>  
> 
>  
> 
>


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to