Anonymous posted on Tuesday, September 06, 2011 - 03:35 pm
I want to send a big file over DDS. I have a computer with Windows, 2GB of RAM, and I work with 1.6.0_24 java version.
I modified the QoS parameters, I have a reliable reader and a reliable writer and I put an asynchronous publisher, I configured the `message_size_max` over UDPv4 to 65536 KB but I have problems with Java heap space: “java.lang.OutOfMemoryError: Java heap space”.
I tried to increase the space of the JVM, with the command “–Xmx?m”(?=100, 256, 300, 500…). I achieved to send large files but only under 9MB, above that size I can´t send files.
¿There is a way to send files of any size in Java?