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 <h_minag...@pcp.co.jp> 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" <hao.h...@intel.com> wrote: > > > You might try delete img; > > > > From: application-dev-boun...@lists.tizen.org > > [mailto:application-dev-boun...@lists.tizen.org] On Behalf Of zhangcs_423 > > Sent: Saturday, November 23, 2013 10:04 PM > > To: application-dev@lists.tizen.org > > 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 Application-dev@lists.tizen.org https://lists.tizen.org/listinfo/application-dev