Subsonic Java memory

Need help? Post your questions here.

Moderator: moderators

Subsonic Java memory

Postby divxmen » Thu Sep 20, 2012 12:41 pm

Hello,
In first sorry for my bad English :(

I have a problem with my subsonic serveur, he work great, but java use a lot of memory. :twisted:
I run with :
Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-generic x86_64) :D

and my version of java is :
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

my server is a 2G memory and Java use all of it.
free -m :
total used free shared buffers cached
Mem: 1848 1746 101 0 264 1052
-/+ buffers/cache: 429 1418
Swap: 1959 8 1951

top :
3 PID %MEM VIRT SWAP RES CODE DATA SHR nFLT nDRT S PR NI %CPU COMMAND
26571 16.1 1956m 1.6g 297m 36 1.7g 20m 132 0 S 20 0 0 java

htop :
I see a lot of java -Xmx512m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=0.0.0.0 -Dsubsonic.port=4040 ...

File: /etc/default/subsonic :
SUBSONIC_ARGS="--max-memory=512"

when i stop subsonic service, memory is ok.But when i restart the service java use all of my memory.

did you have any idea for helping me ?

Thanks in advance :wink:
divxmen
 
Posts: 4
Joined: Thu Sep 20, 2012 12:23 pm

Re: Subsonic Java memory

Postby BKKKPewsey » Fri Sep 21, 2012 11:53 am

Download/update your java as there was a problem with java on on all linux flavour pcs
Something about a leap second bug I believe which caused java to use lots of memory.
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Java memory

Postby divxmen » Fri Sep 21, 2012 12:01 pm

You say i have to update openjdk-6-jre to openjdk-7-jre ?
but i have see people have problem with openjdk-7-jre and subsonic !!
divxmen
 
Posts: 4
Joined: Thu Sep 20, 2012 12:23 pm

Re: Subsonic Java memory

Postby BKKKPewsey » Fri Sep 21, 2012 12:15 pm

divxmen wrote:You say i have to update openjdk-6-jre to openjdk-7-jre ?


I did? - where :?
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Java memory

Postby divxmen » Fri Sep 21, 2012 12:20 pm

Download/update your java as there was a problem with java

I'm sorry, my English is bad, can you explain to me, what i have to do please ? ^^
divxmen
 
Posts: 4
Joined: Thu Sep 20, 2012 12:23 pm

Re: Subsonic Java memory

Postby divxmen » Mon Sep 24, 2012 8:01 am

UP ^^
divxmen
 
Posts: 4
Joined: Thu Sep 20, 2012 12:23 pm

Re: Subsonic Java memory

Postby rastapi » Thu Oct 04, 2012 8:22 pm

this is the leap second bug, not a java issue. It's a problem with ntp
4.7.beta3
Raspberry Pi (model b)
ARM1176JZF-S 700 MHz processor
256 mb RAM
Rasbian OS
100gb (and growing...)
rastapi
 
Posts: 18
Joined: Wed Jul 25, 2012 11:18 pm

Re: Subsonic Java memory

Postby rastapi » Thu Oct 04, 2012 8:24 pm

4.7.beta3
Raspberry Pi (model b)
ARM1176JZF-S 700 MHz processor
256 mb RAM
Rasbian OS
100gb (and growing...)
rastapi
 
Posts: 18
Joined: Wed Jul 25, 2012 11:18 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests