A tool for finding memory leaks in JavaScript programs. "Memory leak" in this context is an object which is retained only by a specified set of library data structures and not pointed to by user code. The tool is a python script which uses th... 続きを読む
first things first, but not necessarily in that order The Problem At work we have a web application where data URIs containing JPEG image data are generated on the server, transferred to the client and there the images are displayed by using ... 続きを読む
iPhone向けのウェブアプリでJavascriptを使うと、メモリリークを調べ方がちょっとわからなかったので、まとめてみました。 1) iPhoneのシステム状態を調べるにはMacとInstruments(Xcodeの付属ソフト)が必要です。 また、iPhoneのSafariのメモリリークを調べる... 続きを読む
はじめに iPhoneアプリを開発するにはメモリ管理は本当に重要です。メモリリークが起きると、アプリケーションたちまちクラッシュを起こしてしまいます。 それで前々からメモリリークを調べる方法を調べていたのですが、Clang Static Analyzerが出てきました。 ... 続きを読む
JavaScriptiPadのSafariは、2カ所から画像のメモリに接続するとリークしガベージされない。iOS、3.2、4.2.1、どちらも起きる。 例えば、2つのimg要素が同じsrcを設定すると、その画像リソースはページのリロードまで2度と離されない。以下のサンプルは、画像ロ... 続きを読む
Loading… Flash Player 9 (or above) is needed to view presentations. We have detected that you do not have it on your computer. To install it, go here. ClassLoader Leak Patterns - Presentation Transcript クラスローダ リークパターン なにそれお... 続きを読む
JavaScript | 09:50メモリーリークに関する覚え書きメモリーリークとは コンピュータの動作中に、使用可能なメモリ容量が、だんだん減っていく現象。OSやアプリケーションソフトが、処理のために占有したメモリ領域を、解放しないまま放置してしまうために起き... 続きを読む
Perl5.8まではクロージャをネストした場合にメモリーリークが発生するという問題がありましたが、5.10.0では解消されているようです。例えば以下のようなソースを実行すると use strict; use Devel::Leak::Object qw(GLOBAL_bless); package Foo; sub new { my ... 続きを読む
Ext - A foundation you can build on Extは17日(米国時間)、Ext JSの最新版となるExt JS 3.1を公開した。Ext JSはJavaScriptで開発されたWebアプリケーションフレームワーク。軽量で高い拡張性を提供しながら、デスクトップエクスペリエンスと近い滑らかな動作... 続きを読む
JavaScript Memory Leak Detector (download) is a debugging tool to detect memory leaks and enforce best practices in JavaScript code when working with version of Internet Explorer older than IE8. As described in detail in this MSDN article the... 続きを読む
Fx一般Memory ProfilerはMozilla Labsの実験的なプロジェクトの一つで、Webページのメモリ使用状況を調査するツールを提供するものだ。長い時間にわたってWebブラウザに常駐させておくタイプのWebアプリケーションが増えつつある昨今、こうしたツールに対する需... 続きを読む
27 July 2009 [Sorry, this is a technical post. Non-programmers should probably skip this and listen to some nice accordion music instead.] Occasionally one has to defeat the same-origin policy and exchange data from a 3rd party server. The le... 続きを読む
javascript前から気になっていたツールを実際に使ってみたのでメモ。 javascriptでメモリリークしている箇所の検出はJavaScript Memory Leak Detector、IEの使用メモリのチェックはProcess Explorerを使う。インストールはそれぞれ次のリンクを参照。どちらもw... 続きを読む
今日はIEのメモリリーク対策に注力した - SEの行き着くところ…の続き。ついについに解決した。解決の糸口(というか答え)はPrototype.jsにしっかりと書いてたやんか! // avoid memory leak in MSIE: clean up this.transport. onreadystatechange = Prototype.... 続きを読む
Finally, the alternative fix for IE6's memory leak is available Update:6/9/2008 One of my fellows, Chris Heilmann helped to post this page to AJAXIAN.com and had got a lot of comments and feedbacks, which I really appreciate it. Before you st... 続きを読む