Zhang,

Are you generating images dynamically? Like, Bitmaps?
Or, you just have a limited amount of image resources in your whole app package?
If you are not generating images dynamically,
you may want to define them all at once, and re-use them whenever needed...
It is Javascript after all, and you never know when they are garbage 
collected...

On Tue, 26 Nov 2013 09:31:33 +0700
Hiroki Minagawa <[email protected]> wrote:

> Oh, Zhang. You are dealing with something impossible...
> If not necessary to create new Image,
> why don't to look for another way to accomplish the same result?
> 
> On Mon, 25 Nov 2013 01:57:11 +0000
> "Li, Hao H" <[email protected]> wrote:
> 
> > You might try delete img;
> > 
> > From: [email protected] 
> > [mailto:[email protected]] On Behalf Of zhangcs_423
> > Sent: Saturday, November 23, 2013 10:04 PM
> > To: [email protected]
> > Subject: [Tizen Application-dev] destroy the image
> > 
> > hi,all
> > How can I to destroy the image immediately in web application?
> > var img = new Image();
> > Now I set img=null,but I want to release the memory immediately.

_______________________________________________
Application-dev mailing list
[email protected]
https://lists.tizen.org/listinfo/application-dev

Reply via email to