Bug 216167 - Convert output window to BigByteBuffer / MappedBigByteBuffer
Convert output window to BigByteBuffer / MappedBigByteBuffer
Status: NEW
Product: platform
Classification: Unclassified
Component: Output Window
7.3
All All
: P3 (vote)
: TBD
Assigned To: Jaroslav Havlin
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-31 07:35 UTC by _ tboudreau
Modified: 2012-07-31 15:48 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo