go to post Marcio Coelho · Dec 2, 2019 I try to set $HOME before to write file, but... when I run third party software that reads the configuration file, the $ HOME variable goes back to / root
go to post Marcio Coelho · Dec 2, 2019 I need to run third party software that needs a configuration file in $HOME
go to post Marcio Coelho · Oct 29, 2019 Hello Kevin. Thank you for your attention. I am trying to send an InputStream to the database.My Stream is coming from a rest service (jax-rs, upload) I have an average file size of 200Mb. I have a "prepareStatement" with sql query "Insert into <Class with %GlobalBinaryString property>"
go to post Marcio Coelho · Oct 29, 2019 Hello Kevin... The problem is a byte[] and java heap space. I have 200Mb into a InputStream and convert this a byte[], cause java.lang.OutOfMemoryError: Java heap space It's a piece of my code.... ByteArrayOutputStream buffer = new ByteArrayOutputStream(); int nRead; byte[] data = new byte[1024]; while ((nRead = binaryStream.read(data, 0, data.length)) != -1) { buffer.write(data, 0, nRead); } SerialBlob blob = new SerialBlob(buffer.toByteArray());
go to post Marcio Coelho · Oct 17, 2019 Bad news to me. Iris driver do not connect to cache 2018. And this is my case