
Posted:
Feb 25, 2004 @ 7:21pm
by Presto
Do you have it working on the desktop as well?
If you do you can get a rough estimate by opening the task manager in Win2K or WinXP and see how much memory its process is using. It'll vary on the PPC I'm sure, but probably not by too much.
-John

Posted:
Feb 25, 2004 @ 7:33pm
by angedelamort
there is fast way to do this on the device, but it's only an approximation:
overload the operator new, new[], delete and delete[]. And in those functions, add a memory counter that add/sub nb of bytes. If all the memory is allocated at the start of the program, it will be almost accurate, but if there is a lot of dynamic allocation, because of the fragmentation, it won't be really precise. But at least, you will have a better idea.
Having a memory manager is interesting for this matter :P but it's a lot of works.
Another way, is the brute force :P Full the memory of the ppc until your app don't works.

Posted:
Feb 25, 2004 @ 9:18pm
by Pam
Check out this thread:
Pam