Hi all,

I was trying to explore the ctx-edit object in View 1.1 on Win98. View was
started by booting direct to the console with no user code in user.r. Here
is the annotated console session.
-------------------------------------------------
>> edit-ob: context ctx-edit
>> print mold edit-ob
** Script Error: Not enough memory
** Near: print mold edit-ob
>> rebol/stats
== 8559840
>> recycle
>> rebol/stats
== 3456224
>> b: third edit-ob

; Console cursor disappears, interpreter seems hung.
; I changed focus to another app window. Then there
; was a bell sound and a hilite dialog in the task-bar
; (only on Win98) with this title and msg:

REBOL - Fatal System Error

**Crash (Should not happen) - Corrupt datatype: 96

; Clicking back in the console, I was still able
; to cut and paste the following

== ** Script Error: Not enough memory
** Near:
--------------------------------------------------------

In prior sessions, I established that with ctx-viewtop loaded into an
object:

print mold ctx-viewtop

and

print mold ctx-viewtop/dtc-face

both lead to the out-of-memory error above when REBOL has used about 16.3 MB
of Windows memory. rebol/stats shows about 11 Mb after the out-of-memory
error. Recycle puts stats back to about 4 MB.

I also found that

b: third ctx-viewtop/dtc-face

resulted in the same Fatal System Error as above.

An important observation is that

>>print mold system/view

works ok. So there is something special about the way that ctx-viewtop and
ctx-edit are written that causes important system functions like MOLD and
THIRD to fail. I looked at ctx-edit because it is a small object.

It is also true that

>>print mold system

worked in the later View betas without producing an out-of-memory error. As
far as I can tell, the only parts of View 1.1 which produce the
out-of-memory error are ctx-viewtop and ctx-edit, because if you boot to the
console with these still in the form of spec blocks

>>print mold system

works just fine.

Puzzled
-Larry


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to