Re: Unable to transfer file above 60mb in Tomcat

2022-05-03 Thread Christopher Schultz
Mark, On 5/3/22 02:26, Mark Thomas wrote: The code uses memory inefficiently and the JVM is not configured with enough memory to handle the load. +1 One of the following should solve this: 1. Re-write the server code to read the file contents from a FileInputStream and write it directly

Re: Unable to transfer file above 60mb in Tomcat

2022-05-03 Thread Mark Thomas
There isn't a question in the post below. I am assuming that the implied question is "why doesn't this work?". The code uses memory inefficiently and the JVM is not configured with enough memory to handle the load. One of the following should solve this: 1. Re-write the server code to read

Unable to transfer file above 60mb in Tomcat

2022-05-02 Thread dkumar
Dear team, I have a file copy application, that run between tomcat server and java client. Its copy file from server end to paste at client end. At server end code written in Servlet file. Its read file data and file name from file. And storing it into String object and send it to client in