This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Displaying large content report on jEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Displaying large content report on jEditorPane" Watch "Displaying large content report on jEditorPane" New topic
Author

Displaying large content report on jEditorPane

Aggarwal Arpit
Ranch Hand

Joined: Mar 04, 2012
Posts: 86
I am displaying a html report of approx 2 MB(size) on jEditorPane.(Report for displaying I am fetching from Server)
But while displaying it is causing heap space error.Also, I want to display this report on default virtual size of eclipse means with -Xmx256m.

Can anybody teel me the way of how can I filter or compress the report content to as to avoid heap space error.

Thanks in Advance for your suggestions.......:-)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Displaying large content report on jEditorPane
 
Similar Threads
help me.....
Out of memory error
Selecting a text portion in a JEditorPane
IReport(JASPER) -- Issue in PDF template creation
Command line options in TextPad