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.
I run with :
Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-generic x86_64)
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
