For reference, our DSpace has 50,000 items and runs on a server with 8GiB
of RAM. Right now our Tomcat's JAVA_OPTS are the following:

-Djava.awt.headless=true -Xms4096m -Xmx4096m -XX:MaxPermSize=256m
-XX:+UseG1GC

And I just checked our JVM heap usage from the system's munin graphs and it
looks like we are only using 2GiB, so I'm actually wasting RAM (the OS
could be using it for caches, but also it causes overhead for Java's
garbage collection)! I'll adjust that to something like 3GiB next time I
re-deploy. Also, I am using the new G1GC garbage collector (well, new in
Java 7 several years ago) but I should perhaps switch back to the default,
as that was a case of pre-mature optimization.

Regards,

Alan

On Mon, Sep 14, 2015 at 4:11 PM, Francis Brouns <[email protected]>
wrote:

> Dear Alan,
>>
>
> thanks for your suggestion. Indeed, 1.8G RAM is probably not enough. I did
> not really check available RAM when setting Tomcat. It should not be a
> problem to give the production server more than 2G RAM. That might solve
> part of the problem.
>
> I'll try to run the scripts you suggest. maybe that will give a better
> indication.
>
> We also will try java 7 and tomcat 7.
>
> kind regards,
> Francis Brouns
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alan Orth
[email protected]
https://alaninkenya.org
https://mjanja.ch
"In heaven all the interesting people are missing." -Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to