RAM Usage

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

RAM Usage

Postby gheaeckkseqrz » Sun Jul 01, 2012 10:40 pm

Hello,

I'm using PS3mediaserver for a few days, and it use more and more RAM.

Image

Here you can see it use nearly 1Go, with nothing appening.
Is this normal ?
At start the program takes 70Mo, it seem it doesn't release memory after finish to transcode/stream a file ?

I'm using Ubuntu 12.04 and java 1.7.0-03.
Hardware is Dual Core 1.8GHz + 2Go RAM.
User avatar
gheaeckkseqrz
 
Posts: 2
Joined: Sun Jul 01, 2012 10:26 pm

Re: RAM Usage

Postby Raptor399 » Mon Jul 02, 2012 7:30 am

Yes, this is normal behavior for any Java program (not just PMS).
Java keeps the memory registered, but no fear: it will free the memory immediately if the system needs it.

When you start seeing OutOfMemory errors in the logs, that is when you should start to worry because then PMS is really using a lot of memory.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: RAM Usage

Postby gheaeckkseqrz » Mon Jul 02, 2012 10:40 pm

Last time my compouter freezed, I had to reboot it via power button, so I think the "it will free the memory immediately if the system needs it" part is wrong with me.
Is there any way to set a java RAM limit ?
User avatar
gheaeckkseqrz
 
Posts: 2
Joined: Sun Jul 01, 2012 10:26 pm

Re: RAM Usage

Postby meskibob » Mon Jul 02, 2012 10:43 pm

If you're on a system with constrained RAM, you should adjust the heap size and transcode buffer values appropriately (the 768MB default heap size may be a bit much for 2GB depending on what else you're running) - viewtopic.php?f=6&t=3507&start=30#p38969
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4768
Joined: Mon Jan 19, 2009 4:11 pm


Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 2 guests