REBOL3 tracker
  0.9.12 beta
Ticket #0000587 User: anonymous

Project:



rss
TypeBug Statusdismissed Date29-Jan-2009 05:27
Versionalpha 32 Categoryn/a Submitted byPeterWood
PlatformAll Severitycrash Prioritynormal

Summary Creating more than 498,635 words in the global context crashes rebol
Description When creating more than 498,635 words in the global context, Rebol crashed with the following error message:

REBOL System Error #1406: REBOL System Error
Example code
>> a: 0
== 0

>> for i 1 10000000 1 [print set bind to word! join "a" i 'a i]

Assigned ton/a Fixed in- Last Update13-Jun-2009 08:56


Comments
(0000389)
BrianH
29-Jan-2009 21:42

I wonder if this is the same with other contexts, now that all objects act like the global context in R2? Nice to see that limit documented though.

This will change once modules are implemented, and we then no longer have a global context at all. How it will change remains to be seen.
(0000588)
Carl
29-Apr-2009 14:30

R3 limits the total number of symbols (words in symbol table) to about 500'000. This is a reasonable limit of the hash table.

If you run the loop above, it takes a very long time to use up all those words.
(0000938)
maxim
13-Jun-2009 05:25

Thanks Carl, that is a very nice augmentation on R2 symbol limit.

one of my clients has had problems with this in r2... because his objects structures where too large to fit into system/words.

structures come from international data interchange standards agencies in his domain, so he has no control over names and size of data sets (which are huge). Yes REBOL is being used in large enterprise apps!
(0000941)
PeterWood
13-Jun-2009 08:56

Is it not possible to throw an error rather than have the system crash when the limit is reached?

Date User Field Action Change
13-Jun-2009 08:56 PeterWood Comment : 0000941 Added -
13-Jun-2009 05:25 maxim Comment : 0000938 Added -
29-Apr-2009 14:30 carl Status Modified reviewed => dismissed
29-Apr-2009 14:30 carl Comment : 0000588 Added -
29-Jan-2009 21:42 BrianH Comment : 0000389 Added -
29-Jan-2009 21:40 BrianH Description Modified -
29-Jan-2009 21:40 BrianH Code Modified -
29-Jan-2009 21:40 BrianH Status Modified submitted => reviewed
29-Jan-2009 05:27 PeterWood Ticket Added -