Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Creating too many Canvas instances throws an outOfMemoryException (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
CompatibilityArticle
Created: User:Technical writer 1 (07 Jul 2006)
Last edited: hamishwillee (15 Aug 2013)

Overview

Creating too many Canvas instances throws an OutOfMemoryException.

Description

In some S60 devices creating too many Canvas instances reserves memory space due to the platform implementation and throws an out of memory exception.

Solution

Try to limit the creation of new Canvas instances and reuse the existing Canvas instances. Use garbage collection to free memory space.

This page was last modified on 15 August 2013, at 06:45.
275 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×