Hi Hank,

If in a web browser you go to:
serverurl:8080/system/console/vmstat (this is just the system information tab 
for the serverurl:8080/system/console) there is the total amount of memory 
available and the used memory statistics.

I am not sure if you can see how much each bundle takes but someone else might 
have that answer (last time I had memory leak issues I used YourKit to profile 
it. If you have access to the tool the instructions to connect YourKit is here: 
http://opencast.jira.com/wiki/display/MH/How+to+Profile+Matterhorn+with+YourKit 
).

If you want to increase the amount of RAM that Matterhorn has access to it is 
in your init.d script (in /etc/init.d/Matterhorn) or the start Matterhorn shell 
script (/opt/matterhorn/felix/bin/start_matterhorn.sh) whichever you use to 
start Matterhorn. It is variable called JAVA_OPTS and the default looks like 
this:

JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=256m"

Which version of Matterhorn are you running and could you send the stack trace 
of it running out of memory / create a new ticket and we might be able to 
figure it out.

Thanks,
Adam

Adam McKenzie
ITS, University of Saskatchewan
Rm 61 Physics, 116 Science Place
Saskatoon SK S7N 5E2 Canada
(306) 966-2453

From: [email protected] 
[mailto:[email protected]] On Behalf Of Hank Magnuski
Sent: Tuesday, November 22, 2011 9:21 AM
To: Matterhorn Users
Subject: [Matterhorn-users] Diagnosing memory problems

I'm seeing "Out of memory" errors.

Can someone give me a clue as to how to debug this? Are there OSGI commands to 
look at how much memory is being used? Some way to look at bundles? Inspect 
Java machines?

Pointers please.

Thanks,

Hank

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to