I had downloaded Inform 7 about two years ago; played with it a bit, then left it for other projects. I’d built a basic world of what I think are fairly modest dimensions: about a hundred rooms, a negligible amount of other goodies.
Attempting to compile it after the upgrade yields this message:
I can only think I must have some subtle bug that causes an infinite number of items to be generated, in the new but not old release. I have not seen a problem like this on the Inform boards; I can do the laborious work of removing things from my world until the problem goes away, but if there’s a simple thing I am missing, it would save that effort.
That seems unlikely. There’s only one intermediate file (the generated I6 file) and Inform rebuilds it on every compile.
The new version of Inform does use more memory. It’s quite likely that you will run into this again as you continue developing. The solution is what Draconis said: find the setting and increase it.
I have encountered this same error msg, the only difference being that I have not downloaded any new version. I am using the same 6L38 I started with. I have included the following in my code and it does not solve the issue.
Use MAX_ARRAYS of 1500.
Use MAX_CLASSES of 200.
Use MAX_VERBS of 255.
Use MAX_LABELS of 10000.
Use MAX_ZCODE_SIZE of 100000.
Use MAX_STATIC_DATA of 180000.
Use MAX_PROP_TABLE_SIZE of 200000.
Use MAX_INDIV_PROP_TABLE_SIZE of 20000.
Use MAX_STACK_SIZE of 65536.
Use MAX_SYMBOLS of 20000.
Use MAX_EXPRESSION_NODES of 256.
The problem started when I added two new “Understand” rules to the game. If I comment one of these two out and re-compile the error msg goes away. Any suggestions would be appreciated.
I am wondering if I separate the code into individual files and then include them as externals if that would help but then they would all be loaded and readable anyway, right?
I have occasionally had I7 hang up and complain about memory during a compile, then never do it again even with no significant changes to code. My guess is that it thinks something’s wrong with my code, when in fact my computer was doing something else at the same time that slowed it down.
Unfortunately, I don’t have the documentation anymore: terribly sorry. I deleted my record of the error when I7 compiled properly the second time, since I then decided the problem was with my own system. I’ll make a bug report if I see it again.