Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Palm > Re: Using other...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 651 of 719
Post > Topic >>

Re: Using other heaps for memory...if I run out?

by Logan Shaw <lshaw-usenet@[EMAIL PROTECTED] > Sep 7, 2005 at 10:46 PM

userforgroups@[EMAIL PROTECTED]
 wrote:
> I've modified what I can, to remove the second buffer completely.  It's
> a little slower now, but I'll have to see how it fares on the slower
> devices.

Well, it's going to be slow on the slow devices, because they're slow.
The question is whether it'll be too slow, of course.  :-)

> Now in my hi-res version I'm using under 256k dynamic heap memory.  Do
> you think that is fine then?

That's probably OK.  There have devices with less than 256K of dynamic
heap, but not any recent devices, and I don't think any devices that
have 320x320 screens have this little heap.  (Except maybe some old
Sony devices that had hi-res before Palm devices did, but those use a
different API for hi-res than regular Palm devices, so I would ignore
those personally, and treat them as 160x160 devices.)

> (I know that my Treo 650 seems to have way more available than the
> Tungsten E.  Many thanks goes out to Palm for keeping this stuff
> standard :(   )

Well, there is a certain amount of leeway they need to increase memory
over time.  The bottom line is that Palms have always had a relatively
small amount of memory available, and developers have always been
expected to just deal with it and develop a programming style that
can work in that environment.  It makes development painful, but it
is nice for the end user in that it forces apps not to have too much
bloat, which means that the device can do more with less.  On the
other hand, it does make certain things (like double-buffering the
display) really impractical and painful.

   - Logan
 




 6 Posts in Topic:
Using other heaps for memory...if I run out?
userforgroups@[EMAIL PROT  2005-09-06 19:30:11 
Re: Using other heaps for memory...if I run out?
Logan Shaw <lshaw-usen  2005-09-07 03:46:00 
Re: Using other heaps for memory...if I run out?
userforgroups@[EMAIL PROT  2005-09-07 09:29:48 
Re: Using other heaps for memory...if I run out?
Logan Shaw <lshaw-usen  2005-09-07 22:41:05 
Re: Using other heaps for memory...if I run out?
userforgroups@[EMAIL PROT  2005-09-07 12:23:14 
Re: Using other heaps for memory...if I run out?
Logan Shaw <lshaw-usen  2005-09-07 22:46:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 19:33:52 CDT 2008.