What is Taking Up So Many Resources?
Posted on 2005-04-21
My program, a quite simple program, uses so many resources it's incredible. And it varies a lot, sometimes it takes about 15,000 K, sometimes it reports 25,000K in the task manager. Why is this? All I use is simple variables, a couple of arrays with like 10,000 entries.., a few BMP's including one that's 150 x 150, no big deal!...
I know it would be easier if you could see the code but let's just make it a general question then. What, in general, does take a lot of system resources? I have many hytpothesis but no clue:
- variants instead of fixed type variables?
- ongoing processes like Timers (I have like 8 firing every second, could this be that?)
Please don't tell me the usual stuff like "using an image object takes up less resources than a picture object", I know that. Or don't answer "all of these things take up resources". I know that. I know that using variant is not as good as fixed type varialbles, but what I really need to know is what, in general, TAKES THE MOST RESOURCES so I know where to look first... what to fix prioritarily.
Thanks a ton,