Hello, I have recently developed a program on my powerbook g3 500. I am running Mac OS 10.2.8.
The program runs perfectly on my system however I am getting some feedback from my customers that when using the program their system will suddenly slow down and and ultimately ask them to restart their Mac.
Can anyone offer me some ideas on what type of problems would cause the system to require a restart?
Thanks
Sounds like a memory leak.
To me, the ‘suddenly slows down’ part suggests the system is thrashing VM and eventually running out - i.e. a memory leak. I’ve never actually had it happen, but I suppose OSX could put up a dialog telling users they need to restart.
More Info:
This is really a pretty basic program. I using very few dynamically creatied objects. Most of the objects are were created in IB ie: General/NSImageView, General/NSButton, and General/NSTextField. I never actually free any of these, they just change states as the game progresses. There are how ever a lot of objects.
I have asked my customers for more feedback and I will advise as it comes in. I am also using a couple of timer ojects which I am not using “free” to to release them from memory. The text I am learning from explains to use “invalidate” instead. I have also recently implemented code to track the high scores. I suspect the problem is either with the timers or the high score code.
I had some sudden problems with General/OpenGL when I updated to 10.3.3 – you can read about them in General/SuddenPerformanceLoss
It had to do with display list creation/deletion. Of course, if you aren’t using General/OpenGL then it’s irrelevant. Nonetheless, I recommend some investigation with the CHUD tools. They’re excellent. –General/ShamylZakariya
You hit the nail on the head!!