Forums > Java

java out of memory error

November 13, 2013 | 5:41 pm

I have put in the [mxj net.tcp.send] object into a patch and it seems to work fine, except for about 200 repetitions of this error message when I start up the patch:

java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at com.cycling74.net.TcpSender.send(TcpSender.java:211)
at com.cycling74.net.TcpSender.send(TcpSender.java:205)
at net.tcp.send.list(send.java:46)

I changed the max.java.config file to reserve more memory for jvm (from 256 to 512 meg, which seems excessive as it’s the only mxj object being used in my patch).
This did not change anything.

I’ve checked the directory structure for the java files and everything seems correct (ie C:\Program Files\Cycling ’74\Max 6.1\Cycling ’74\java\classes\net\tcp\send.class).

Is anyone able to explain what these messages mean? Is it an os setting?

"version" : "Version 6.1.5 (2117171)",
"platform" : "windows",
"arch" : "x86",
"osversion" : "Microsoft Windows 7 Professional Service Pack 1 (build 7601), 32-bit"}


Viewing 1 post (of 1 total)