> System dynamic allocation (IrDA, "Find" window, temporary allocations)
>the table gives no number for 3.0 through 3.5 OS (it just says "variable").
>The 2.0 OS shows ~15K for this entry.
>
>This makes it a little tough for users to plan how much space they're
>allowed to use. Can we come up with an upper bound on this number?
It depends... on what services are installed and running, how much system
ram exists, the active screen depth, whether the screen has VRAM or not,
etc. and so forth. Far better to have your app try to allocate and see if
it fails. (And don't gratuitously take all of the available memory anyway,
because an IR transmission could happen at any time, or other things like
that which you don't and can't expect.)
Guidelines would be handy, but often there's no better guideline than "as
little as you need". It isn't a simple situation like it was in the 2.0
days!
>2) For the entry on Application Stack, the 3.5 OS entry shows "N/A (see
>note)", while the 3.0 through 3.3 entry shows "4KB (default)". The 4KB makes
>lots of sense. What's going on with the N/A, though? I can't find the note
>its referring to. Is the app stack allocated in some different way in OS
>3.5?
The app stack shouldn't be done in a different way in 3.5, that I know of.
Apps can request a larger stack size through the PREF resource, but I don't
recall anything changing in that area in 3.5. The "see note" text might
belong better in the box for "remaining dynamic space", if I understand the
writer's intentions, because that's the number that can vary wildly
depending on what is installed and what is active. There's a note just one
paragraph down that I presume is the note in question... but on the other
hand the fact that there are two columns there would seem to make that note
a bit redundant. I guess I'm comfortable explaining the system, but not as
familiar with that article itself :-)
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html