Page 1 of 1

OutOfMemoryError: Java heap space

Posted: Mon Oct 12, 2015 12:30 pm
by mormoon
Hi,

I noticed the following error on the "console". I already gradually increased the memory from 50M to 100M to 250M, but i'm still getting this error. Could there be a memory leak somewhere? Or is 250m not enough?

Console input started (use 'help' for a list of commands):
>Exception in thread "Thread-46" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3236)
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
at org.apache.commons.exec.StreamPumper.run(StreamPumper.java:106)
at java.lang.Thread.run(Thread.java:745)

I'm using: TS3MusicBot 4.6.4.2 with the latest TS3 client.

OS: Centos7 3.10.0-229.4.2.el7.x86_64
JAVA: OpenJDK Runtime Environment (build 1.8.0_60-b27)

cat /proc/meminfo
► Show Spoiler

Re: OutOfMemoryError: Java heap space

Posted: Mon Oct 12, 2015 12:46 pm
by Ronneberg
I can't really help you with this problem, but it would be nice to know which operating system you are using and which version of Java is installed (On Linux based systems you can check this with java -version).

Kind regards,
Ronneberg

Re: OutOfMemoryError: Java heap space

Posted: Mon Oct 12, 2015 1:04 pm
by mormoon
Ronneberg wrote:I can't really help you with this problem, but it would be nice to know which operating system you are using and which version of Java is installed (On Linux based systems you can check this with java -version).

Kind regards,
Ronneberg
Tnx, added to the startpost.

Re: OutOfMemoryError: Java heap space

Posted: Tue Oct 13, 2015 7:00 pm
by Crypto90
I have found the cause of this issue and we will going to fix it right now.

Re: OutOfMemoryError: Java heap space

Posted: Wed Oct 14, 2015 8:45 pm
by mormoon
Crypto90 wrote:I have found the cause of this issue and we will going to fix it right now.
*thumbs up*

Re: OutOfMemoryError: Java heap space

Posted: Wed Oct 14, 2015 8:58 pm
by mormoon
Just updated, I can confirm that the bug has been squashed :)