Skip to content

Investigate high memory consumption #2

@thwill1000

Description

@thwill1000

If you start and immediately quit "Adventureland" then the memory usage is as follows:

> memory
Program:
 111K (21%) Program (3097 lines)
   1K ( 0%) 1 Embedded C Routine
 404K (79%) Free

Data:
 115K ( 2%) 138 Variables
   0K ( 0%) General
4717K (98%) Free

The program memory consumption is just about understandable, SAAINT has a lot of "gilding" and includes a high-proportion of 'splib' but probably only calls 50% of the functions therein.

However the data memory consumption is unexpected, the original adventure program + data would have taken up 16-32 KB max.

Possible causes:

  • global data from the menu-system not being cleaned up correctly.
  • oversized string arrays
  • ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions