|Using a url to retrieve a large file causes problems for printing [message #1108444]
||Fri, 13 September 2013 17:50
| Iain Macgranthin
Registered: September 2013
I have a large file that I am reading in from a url.|
It is simply a log file, so there is no formatting, but it is very large, so one the url has loaded I cannot then print it to another file.
I have used htmlunit htmlpage to read it in from web client, but I do not now know what to do to write it out - I am getting an out of memory error Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
I have increased the memory to 1024m,and don't think I should go further - I simply need to learn thew coding solution to this.
Can someone advise?
Powered by FUDForum
. Page generated in 0.12980 seconds