Memory question, old MC versions
Karl Becker
karl at karlbecker.com
Tue Apr 8 19:47:00 EDT 2003
I made a word processor quite awhile ago using New Tricks and it uses
15,000K of RAM on a 68K machine. I have one idea why its using a lot
of memory - it reads the stack name property of every stack in a
directory, and it's probably loading about 5 to 8 stacks just to read
the title of the stack. It doesn't actually toplevel any of those
stacks, but it must have to load them if it's reading their stack names
(not their file name, but actual stack name).
Another fun fact: this is using the 2.3.x version of MetaCard
(whichever was the last to support 68k).
The program only reads in the text file, sets the htmlText of a field
to the html file it's opened (very basic html files, simply exported
htmlText that the user typed in).
It's really bugging my client, where it takes about 3 minutes and 30
seconds to open a 360K text file using my program. I don't really have
any other comments on it, except that it would be nice if there's some
obvious way to cut back on memory that my word processor (or MetaCard
itself) uses.
Karl
More information about the metacard
mailing list