Memory use by unused objects
John Abshier
Posts: 1,116
I thought that the IDE only used called methods.· In my program I used a BS2 object to get one of its methods.· I later changed my program and no longer called the method.· But I left the BS2 object declared in the OBJ section.· Memory usage was
Program: 1903 longs Variables:·112 longs.· I then removed the following line
· BS2 : "BS2_Functions"·
Memory usage then went to Program: 1401· Variables 95
·
Program: 1903 longs Variables:·112 longs.· I then removed the following line
· BS2 : "BS2_Functions"·
Memory usage then went to Program: 1401· Variables 95
·
Comments
I think the object probably has variables....and constants....that are being used no matter what methods are called. The savings are the temp variables from the methods that are not being used.
Chip or someone else may chime in here and correct me if I'm wrong.
James L