How much transient data can I allocate?

Julien SIMON

Not much. The value is platform-dependent, but it's usually around 220 bytes. Transient space is shared among all applets, so you need to be very conservative. Unfortunately, there's no API to get the amount of transient space that the platform supports.

As a consequence, try to stick to the CLEAR_ON_DESELECT type, because since this type of data is meaningless when the applet is deselected, the platform should be able to reuse the space for the current applet.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact