Maximium Buffer Size in OI (OpenInsight Specific)
At 28 SEP 2000 12:08:05PM Tom Savell wrote:
While working on a Stored Procedure in the System Editor which has near or greater than 32K characters, we will occasionally get the message "Exceeded Maximum Buffer Size". If we exit OI and reenter then access the record in the editor the problem disappears. I have been able to edit records upto 58K characters previously.
Why does this problem occur? Is there another way of fixing the problem besides exiting OI and reentering?
At 29 SEP 2000 09:21AM Don Miller - C3 Inc. wrote:
Tom ..
The problem lies in the way that the editor uses Win's resources. If you search for System Editor or something like that, you will run across a nice technical piece that explains why. Leaving OI and restarting seems to be one way around it. I have a "cut/paste" snippet that will hang a bunch of asterisks at the end of a source file. Then you open it in system editor and delete the asterisks and you can edit somewhere between 48 - 52 K.
Don Miller
C3 Inc.
At 29 SEP 2000 11:11AM Tom Savell wrote:
Thanks for the info. I searched for the article but couldn't find it so if anyone has a link it would be appreciated.
Tom
At 29 SEP 2000 01:04PM Don Miller - C3 Inc. wrote:
Tom ..
Since I don't have a clue about how to paste a link, here is a post I did earlier to Ray Chan
]]
I stumbled across the 32K limit in the editor quite by accident. It
turns out that it's not an RTI bug, per se, but has to do with the way
that Multi-Line edit boxes are handled by Windows. If you search for
Editor in the Works area, you will find a post from Carl Pates / Sprezz
(I think??) with a html pointer to some documentation about how edit
boxes are handled. It has to do with stack / heap management in windows.
Essentially both the Control and its Undo buffer share the same space.
Even wierder is that the editor behaves differently on different
desktops and different versions of Windows.
The little trick I sent you is good until about 40-45K size - sometimes even bigger than that. Sometimes, if you close and open windows on your desktop or within OI, you'll get different results.
I wouldn't edit large records with Form Designer or Table Builder
running on a bet! I've lost my repository more than once with this
"feature".
By the way .. Oystein is right about the Tab Character. I'm getting too old for this caca ;-(.
Cheers ..
Don Miller
C3 Inc.
At 29 SEP 2000 03:50PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Don
Just paste the link - it hyperlinks automatically. To embed HTML just use around the code.
World Leaders in all things RevSoft
At 02 OCT 2000 09:08AM Don Miller - C3 Inc. wrote:
Sprezz ..
TYVM
DCM