Hi George,

     We are running 1.4.2, however with Sun Webserver7, and Postgres 8.2
and the only time we see Java Heap Space errors are in filter-media.
Here is what we have in our dsrun script:

 

java -Xmx3072m -Dfile.encoding=UTF-8 -classpath $FULLPATH "$@"

 

and here are some parameters from our postgresql.conf file:

 

max_connections = 300 (I changed it from 100 to 300 when we kept getting
errors saying, "connection limit exceeded for non-superusers" - haven't
seen the error since)

 

shared_buffers = 32MB

 

max_fsm_pages = 300000

 

 

Hope this helps!!

Sue

 

                                     

Sue Walker-Thornton

ConITS Contract
NASA Langley Research Center
</></>Integrated Library Systems Application & Database Administrator

130 Research Drive

Hampton, VA  23666

Office: (757) 224-4074
Fax:    (757) 224-4001
Pager: (757) 988-2547 
Email:  [email protected] <mailto:[email protected]> 

 

 

 

 

-----Original Message-----
From: George Kozak [mailto:[email protected]] 
Sent: Wednesday, December 10, 2008 8:53 PM
To: [email protected]
Subject: [Dspace-tech] I need help with memory problems

 

Hi...

 

In October I moved my DSpace 1.4.2 instance to a new server which is 

faster and has more memory.  I upgraded my Apache to 2.2.4, added 

mod_jk and Tomcat 5.5.26.

 

My old instance worked fine with Apache 1.3.26, mod_webapp and tomcat 

4.0.6.  In both cases I was and am using PostGreSQL 8.3.

 

However, ever since moving to the new server, I have had tomcat crashes
with

java.lang.OutOfMemoryError: Java heap space

 

This seems to happen when we are hit by harvesters.  I have tried a 

number of things, but all that I have done is delay the 

crashes.  They happen...just less frequently.  I am at my wits 

end!  Does anyone have any suggestions?

 

In PostGreSQL, I have max_connections = 100 and shared_buffers = 32MB 

and max_fsm_pages = 204800

 

Here is my Tomcat configuration:

JAVA_OPTS="-server -Xms1024m -Xmx2048m -Xmn64m -Dfile.encoding=UTF-8 

-XX:+UseParallelGC -verbose:gc

-Xloggc:/dspace/dspace/log/gc.log -XX:+HeapDumpOnOutOfMemoryError

-XX:PermSize=1024m -XX:MaxPermSize=1024m -XX:-UseGCOverheadLimit"

 

Here is robots.txt:

User-agent: *

Crawl-delay: 10

 

User-agent: *

Disallow: /browse-author

Disallow: /items-by-author

Disallow: /browse-date

Disallow: /browse-subject

Disallow: /bitstream

 

***************************

George Kozak

Coordinator

Web Development and Management

Digital Media Group

501 Olin Library

Cornell University

607-255-8924

***************************

[email protected]  

 

 

------------------------------------------------------------------------
------

SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.

The future of the web can't happen without you.  Join us at MIX09 to
help

pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/

_______________________________________________

DSpace-tech mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to