This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216167

Summary: Convert output window to BigByteBuffer / MappedBigByteBuffer
Product: platform Reporter: _ tboudreau <tboudreau>
Component: Output WindowAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ tboudreau 2012-07-31 07:35:13 UTC
I never really liked the fact that the output window is limited in length to Integer.MAX_VALUE / 2.  With JDK 7's BigByteBuffer and MappedBigByteBuffer, it does not have to be.

Probably necessary to stop line wrapping at Integer.MAX_VALUE unless somebody wants to create a long-indexable int:int map, though.
Comment 1 Jaroslav Havlin 2012-07-31 15:48:20 UTC
The limit causes a lot of problems, and this would help. Thanks for hint.

We are also considering decreasing the limit and keeping only several thousands last lines. Or storing all lines (that can be accessed after "Save as"), but showing only several thousands last lines. See issue 55151.

Keeping smaller number of lines could also help solve some other issues, like IO from AWT (issue 183009), and maybe some rendering problems (overlapping lines).

Please, what is your use-case for keeping such a huge output in Output Window?
Could you list pros and cons of limited and unlimited output, from your point of view?
Thank you.

P.S. I really admire your work on Output Window.