Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Using a url to retrieve a large file causes problems for printing(Using a url to retrieve a large file causes problems for printing)
Using a url to retrieve a large file causes problems for printing [message #1108444] Fri, 13 September 2013 21:50 Go to next message
Iain Macgranthin is currently offline Iain MacgranthinFriend
Messages: 1
Registered: September 2013
Junior Member
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?

Thanks!
Re: Using a url to retrieve a large file causes problems for printing [message #1111094 is a reply to message #1108444] Tue, 17 September 2013 19:37 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2341
Registered: July 2009
Senior Member
You might want to ask in a more general Java forum. This one's more for users having issues or questions with/about Eclipse.

---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Error in Photran: "At least one configuration should be available. Project cannot be created.
Next Topic:Moxy logging configuration
Goto Forum:
  


Current Time: Sat Dec 20 05:11:20 GMT 2014

Powered by FUDForum. Page generated in 0.01803 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software