Memory leak in 3.0.0 ?
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Memory leak in 3.0.0 ?
Hello,
Im running UMS 3.0.0-final headless. After day or two Im getting "java.lang.OutOfMemoryError: Java heap space".
Im using -Xmx1024M to use 1GB or RAM, because I only have 1,5 on my home server.
The folder with shears are 4x 2TB full of data hdds.
Is it the problem with alot of data being parsed? Or UMS is allways tested with lower volume of shears and work that way very stable ?
Im running UMS 3.0.0-final headless. After day or two Im getting "java.lang.OutOfMemoryError: Java heap space".
Im using -Xmx1024M to use 1GB or RAM, because I only have 1,5 on my home server.
The folder with shears are 4x 2TB full of data hdds.
Is it the problem with alot of data being parsed? Or UMS is allways tested with lower volume of shears and work that way very stable ?
server: C2D [email protected] 3GB RAM
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
- Optimus_prime
- Posts: 678
- Joined: Fri Jun 01, 2012 6:39 pm
- Location: Sydney, Australia
Re: Memory leak in 3.0.0 ?
Sorry but how much memory do you have in total?
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
Re: Memory leak in 3.0.0 ?
like i wroted before. I had total of 1,5GB of RAM.Optimus_prime wrote:Sorry but how much memory do you have in total?
Today I upgraded to 3GB, and change XmX to 700M and Xss2048K, which givs me a total of 2221M of Virtual Ram
server: C2D [email protected] 3GB RAM
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
- Optimus_prime
- Posts: 678
- Joined: Fri Jun 01, 2012 6:39 pm
- Location: Sydney, Australia
Re: Memory leak in 3.0.0 ?
So before when you had 1.5Gb in total, thats not only your system to share but the java heap as well. You should leave UMS's defaults as -Xmx768M and -Xss2048k
This is the default line from UMS.sh and i would leave it as standard (Thats what i've used and had no issues)
# Execute the JVM
exec "$JAVA" $JAVA_OPTS -Xmx768M -Xss2048k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djna.nosys=true -classpath "$PMS_JARS" net.pms.PMS "$@"
This is the default line from UMS.sh and i would leave it as standard (Thats what i've used and had no issues)
# Execute the JVM
exec "$JAVA" $JAVA_OPTS -Xmx768M -Xss2048k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djna.nosys=true -classpath "$PMS_JARS" net.pms.PMS "$@"
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
Re: Memory leak in 3.0.0 ?
been using standard from start, but then it started falling and adding more Xmx gave more hours os table workOptimus_prime wrote:So before when you had 1.5Gb in total, thats not only your system to share but the java heap as well. You should leave UMS's defaults as -Xmx768M and -Xss2048k
This is the default line from UMS.sh and i would leave it as standard (Thats what i've used and had no issues)
# Execute the JVM
exec "$JAVA" $JAVA_OPTS -Xmx768M -Xss2048k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djna.nosys=true -classpath "$PMS_JARS" net.pms.PMS "$@"
server: C2D [email protected] 3GB RAM
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
-
- Posts: 48
- Joined: Mon Oct 21, 2013 6:11 pm
Re: Memory leak in 3.0.0 ?
I just wanted to chime in and say that just as he wroted, i was also getting that java error. I have 8gb ram and was using the 1280 as suggested by UMS. not sure if this will apply to me anymore as i updated to 3.1.1. i have a whole other set of issues, now, which i writed about in my thread. peace 
