IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
æ¸æ¥è¨@shibu.jp æ¸å·ãããã®æ¥è¨ã§ããã½ããã¦ã§ã¢éçºã¨ããã©ã¤ãããã¯ãä¸å¿ã«è¨äºãæ¸ãã¦ããã¾ãã ã¡ã¢ãªãªã¼ã¯ãä¸è¨ã§ããã°ã©ããæ»ã«è¿½ãããææã®è¨èãC/C++ã®ä¸çã§ã¯mallocããã®ã«freeããªãã¨ãã®ã±ã¢ã¬ã¹ãã¹ã§ããèµ·ãã¦ããåé¡ã§ãããã®å¾ãã¬ãã¼ã¸ã³ã¬ã¯ã¿ãæé¤ãã¦ãããããã°ã©ãã³ã°è¨èªãå¢ããä¸é¨ã®è¨èªã§å¾ªç°åç §ã«æ°ãã¤ãããããã§ãã¾ãæ°ã«ããªãã¦ãè¯ãçãªé¢¨æ½®ã«ãªã£ã¦ãã¾ãã ã¨ãããã®ã®ãããã¨ãè¨ã£ã¦ãããªããªãç¶æ³ãå¢ãã¦ãã¦ãã¾ããã¯ã©ã¦ãã®ã¹ã±ã¼ã«ã¢ã¦ããã¼ã ãä¸æ®µè½ã¨ãããã³ã¢ãã£ãã£åããgoè¨èªã§åã³æ§è½åä¸æ¹é¢ã«é¢å¿ãå¯ããããããæ¥æ¬ã§Erlangã®åå¼·ä¼ãæºå¸ã«ãªã£ãããã¹ã±ã¼ã«ã¢ã¦ãããåã³ã¹ã±ã¼ã«ã¢ããæ¹é¢ã«è©±é¡ã移ãã¤ã¤ããã®ãæãã¾ããé·æé稼åã®ãµã¼ãã§ãã¹ã±ã¼ã«ã¢ãããã¦ããã«æ°å¤ãã®ãªã¯ã¨ã¹ãã大éã«åãããã
iPhoneåãã®ã¦ã§ãã¢ããªã§Javascriptã使ãã¨ãã¡ã¢ãªãªã¼ã¯ã調ã¹æ¹ãã¡ãã£ã¨ããããªãã£ãã®ã§ãã¾ã¨ãã¦ã¿ã¾ããã 1) iPhoneã®ã·ã¹ãã ç¶æ ã調ã¹ãã«ã¯Macã¨Instrumentsï¼Xcodeã®ä»å±ã½ããï¼ãå¿ è¦ã§ãã ã¾ããiPhoneã®Safariã®ã¡ã¢ãªãªã¼ã¯ã調ã¹ããã¨ãã§ããªãï¼ï¼ï¼ãããUIWebViewãå®è£ ããããã¼ã¢ããªãå¶ä½ãã¦ããã¾ãã 2) iPhoneãMacã«ç¹ãã¾ãã 3) Macã§Xcodeãç«ã¡ä¸ãã¦ãããã¼ã¢ããªãããã«ããå®è¡å¾ããå®è¡ï¼ããã©ã¼ãã³ã¹ãã¼ã«ã使ã£ã¦å®è¡ï¼Leaksããé¸æãã¾ãã 4) Instrumentsãèµ·åããã®ã§ããRecordããã¯ãªãã¯ããã¨ã¡ã¢ãªãªã¼ã¯ãã§ãã¯ãããªããiPhoneã®ã¢ããªãèµ·åãã¾ãã ã¡ã¢ãªãªã¼ã¯ã®è¦æ¹ãã¡ãã£ã¨ãããã«ããã§ããããã¬ã¼ã¯ãã¤ã³ããªã©ãé§ä½¿ããªããã¿ã¤ã
ã¯ããã« iPhoneã¢ããªãéçºããã«ã¯ã¡ã¢ãªç®¡çã¯æ¬å½ã«éè¦ã§ããã¡ã¢ãªãªã¼ã¯ãèµ·ããã¨ãã¢ããªã±ã¼ã·ã§ã³ãã¡ã¾ã¡ã¯ã©ãã·ã¥ãèµ·ããã¦ãã¾ãã¾ãã ããã§åã ããã¡ã¢ãªãªã¼ã¯ã調ã¹ãæ¹æ³ã調ã¹ã¦ããã®ã§ãããClang Static Analyzerãåºã¦ãã¾ããã ã§ããããã¿ã¼ããã«ã©ãã®ããã®ã§åå¿è ã®åã«ã¯ãªãã ãé£ãããã§ããã諦ãã¦ãããã§ãããXCodeã«Clang Staticã¨ã³ã¸ã³ãæè¼ããããããã®ã§ãè¨å®æ¹æ³ãç´¹ä»ãã¾ãã è¨å®æ¹æ³ â ããã¸ã§ã¯ãããããã¸ã§ã¯ãè¨å®ç·¨éãã¯ãªã㯠â¡ãã«ãã¿ããé¸ãã§éçã¢ãã©ã¤ã¶ã«âãå ¥ãã¾ãã â¢Buil and Analyze ã§è§£æãã¾ãï¼ ãã£ãããã ãã§ãã¡ã¢ãªãªã¼ã¯ã調ã¹ãäºãã§ãã¾ãã åãã¦å½ããã°ã«è¨ªããæ¹ãä½åº¦ãå½ããã°ã«ãè¶ãé ãã¦ããçæ§ãããããã°ã®å 容ãæ°ã«å ¥ã£ã¦é ãã¾ãããRSSãª
JavaScriptiPadã®Safariã¯ã2ã«æããç»åã®ã¡ã¢ãªã«æ¥ç¶ããã¨ãªã¼ã¯ãã¬ãã¼ã¸ãããªããiOSã3.2ã4.2.1ãã©ã¡ããèµ·ããã ä¾ãã°ã2ã¤ã®imgè¦ç´ ãåãsrcãè¨å®ããã¨ããã®ç»åãªã½ã¼ã¹ã¯ãã¼ã¸ã®ãªãã¼ãã¾ã§2度ã¨é¢ãããªãã以ä¸ã®ãµã³ãã«ã¯ãç»åãã¼ããéä¸ã§åæ¢ãã以éã¯æ°ããç»åã表示ã§ããªãããã¹ã¯ãããã®ãã©ã¦ã¶ã®ããã«ãå¥ã®imgè¦ç´ ã§ããªãã§ãããã¦ãä»ã®imgè¦ç´ ã§è¡¨ç¤ºããææ³ã¯ä½¿ããªãã // imagesã«srcã®ãªã¹ããç¨æ var elmImage = document.body.appendChild(document.createElement('img')); var elmOther = document.createElement('img'); (elmImage.onload = function(){ documen
1. ã¯ã©ã¹ãã¼ã ãªã¼ã¯ãã¿ã¼ã³ ãªã«ããããããã®ï¼ Takayoshi Kimura Senior Software Maintenance Engineer, JBoss Global Support Service Red Hat
ã¡ã¢ãªã¼ãªã¼ã¯ã«é¢ããè¦ãæ¸ã ã¡ã¢ãªã¼ãªã¼ã¯ã¨ã¯ ã³ã³ãã¥ã¼ã¿ã®åä½ä¸ã«ã使ç¨å¯è½ãªã¡ã¢ãªå®¹éããã ãã ãæ¸ã£ã¦ããç¾è±¡ã OSãã¢ããªã±ã¼ã·ã§ã³ã½ããããå¦çã®ããã«å æããã¡ã¢ãªé åãã解æ¾ããªãã¾ã¾æ¾ç½®ãã¦ãã¾ãããã«èµ·ããã ã¡ã¢ãªã¼ãªã¼ã¯ãã¿ã¼ã³ï¼ä»¥ä¸ã®ã¿ã¤ããèå¯ï¼ ããã¥ã¡ã³ãããªã¼ã«å±ããªããã¼ãã«ãã¤ãã³ããè²¼ãä»ããå ´åã DOM ããã»ããµã管çãã¦ãããªãã¸ã§ã¯ãã¨ãã¹ã¯ãªããã¨ã³ã¸ã³ã管çãã¦ãããªãã¸ã§ã¯ãããæ··å¨ããå ´å ããããã¯ãã¼ã¸ã£ãããã®æ··å¨ãæããã¿ã¼ã³ï¼ãããé£è§£ï¼ ã¡ã¢ãªã¼ãªã¼ã¯ã«è©²å½ããªããã® DOM ããã»ããµã管çãã¦ããå¤æ°ããã°ãã¼ãã«å¤æ°ã§ãã window, document ã¯ãã°ãã¼ãã«å¤æ°ãªã®ã§ã該å½ããªãã ããã¥ã¡ã³ãããªã¼ã«å±ããªããã¼ãã«ãã¤ãã³ããè²¼ãä»ããå ´å ãã¼ã¸ãç ´æ£ããã¨ãã«ãããã¥ã¡ã³ãããªã¼ã®ãã¼ã
Perl5.8ã¾ã§ã¯ã¯ãã¼ã¸ã£ããã¹ãããå ´åã«ã¡ã¢ãªã¼ãªã¼ã¯ãçºçããã¨ããåé¡ãããã¾ãããã5.10.0ã§ã¯è§£æ¶ããã¦ããããã§ãã ä¾ãã°ä»¥ä¸ã®ãããªã½ã¼ã¹ãå®è¡ãã㨠use strict; use Devel::Leak::Object qw(GLOBAL_bless); package Foo; sub new { my $class = shift; return bless { id => shift }, $class; } sub DESTROY { my $self = shift; print "Destroy @{[$self->{id}]} $self\n"; } package main; sub main ($) { my $j = shift; print "# MAIN BLOCK START\n"; my $foo = Foo->new( $j );
Ext - A foundation you can build on Extã¯17æ¥(ç±³å½æé)ãExt JSã®ææ°çã¨ãªãExt JS 3.1ãå ¬éãããExt JSã¯JavaScriptã§éçºãããWebã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã軽éã§é«ãæ¡å¼µæ§ãæä¾ããªããããã¹ã¯ãããã¨ã¯ã¹ããªã¨ã³ã¹ã¨è¿ãæ»ãããªåä½ãå®ç¾ãã¦ããã 3.1ã¯æ°æ©è½ã®æä¾ä»¥å¤ã«ããã©ã¼ãã³ã¹ãæ¹åãããã¨ã«åãç½®ããã¦ããç¹ã注ç®ãããããã¹ã¦ã®ã³ã³ãã¼ãã³ãã§DOMåç §ãé©åã«åé¤ããããã«ãªãã¡ã¯ã¿ãªã³ã°ãå®æ½ãããã»ããIEã«åå¨ãã¦ããJavaScriptãªãã¸ã§ã¯ãã®æ±ãã«é¢ããåé¡ãåé¿ããå¦çã追å ããã¦ãããé·æã«æ¸¡ã£ã¦Webã¢ããªãå®è¡ããã±ã¼ã¹ã§50åãè¶ããã¡ã¢ãªå®¹éã®æ¶è²»åæ¸ã確èªãããã¨è¨è¼ãããã 500æä½å¾ã®DOMè¦ç´ æ°ã®éã Ext JS 3.0 vs 3.1 on IE
Archived MSDN and TechNet Blogs 2/7/2020 2 minutes to read MSDN and TechNet blog sites have been retired, and blog content has been migrated and archived here. Archived blogs are grouped alphabetically by the initial letter of the blog name. Blogs and blog posts can be searched by their names, using the Search box at the top of the page. Actively updated blogs have been moved to other blog sites,
Memory Profilerã¯Mozilla Labsã®å®é¨çãªããã¸ã§ã¯ãã®ä¸ã¤ã§ãWebãã¼ã¸ã®ã¡ã¢ãªä½¿ç¨ç¶æ³ã調æ»ãããã¼ã«ãæä¾ãããã®ã ã é·ãæéã«ããã£ã¦Webãã©ã¦ã¶ã«å¸¸é§ããã¦ããã¿ã¤ãã®Webã¢ããªã±ã¼ã·ã§ã³ãå¢ãã¤ã¤ããæ¨ä»ããããããã¼ã«ã«å¯¾ããéè¦ãé«ã¾ã£ã¦ããã¨ãããã ãããã ããAtul Varmaæ°ããWeb Application Memory Profiling, Take Twoãã§èª¬æãã¦ããããã«ãä»å¹´7æã«å ¬éãããæåã®ãããã¿ã¤ãã«ã¯æ¬¡ã®ãããªæ¬ ç¹ããã£ãã åä½ãé ã Firefoxã®JSãã¼ãå ¨ä½ã表示ãã¦ããããããã«ã¯Webéçºè ã«ã¨ã£ã¦ãã»ã©å½¹ã«ç«ããªãFirefoxã®å é¨ãªãã¸ã§ã¯ããããããå«ã¾ãã¦ãã Firefoxãããªã¼ãºããå¥ã®ãã©ã¦ã¶ãããã¼ã«ã«ã®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 least ugly hack is the badly named JSONP technique. Basically you create a script tag, append it to head, then it will fetch a remote JavaScript file and execut
JavaScript Memory Leak Detectorã®ver. 2ãåºã¦ãã®ã§ãªã³ã¯ä¿®æ£ åããæ°ã«ãªã£ã¦ãããã¼ã«ãå®éã«ä½¿ã£ã¦ã¿ãã®ã§ã¡ã¢ã javascriptã§ã¡ã¢ãªãªã¼ã¯ãã¦ããç®æã®æ¤åºã¯JavaScript Memory Leak DetectorãIEã®ä½¿ç¨ã¡ã¢ãªã®ãã§ãã¯ã¯Process Explorerã使ããã¤ã³ã¹ãã¼ã«ã¯ãããã次ã®ãªã³ã¯ãåç §ãã©ã¡ããwindowsã®åèµ·åã¯ãããªãã£ã¦æ¸ãã¦ãããã©ãç§ã¯åèµ·åããªãã¨ä½¿ãã¾ããã§ããã GPDE Team Blog : JavaScript Memory Leak Detector (v2) http://blogs.msdn.com/gpde/pages/javascript-memory-leak-detector_v2.aspx GPDE Team Blog : JavaScript Memor
ä»æ¥ã¯IEã®ã¡ã¢ãªãªã¼ã¯å¯¾çã«æ³¨åãã - SEã®è¡ãçãã¨ããâ¦ã®ç¶ããã¤ãã«ã¤ãã«è§£æ±ºããã解決ã®ç³¸å£(ã¨ãããçã)ã¯Prototype.jsã«ãã£ããã¨æ¸ãã¦ããããï¼ // avoid memory leak in MSIE: clean up this.transport. onreadystatechange = Prototype.emptyFunction; ã©ãããDOMãªãã¸ã§ã¯ãã ãã§ãªããnew ActiveXObject('Msxml2.XMLHTTP')ãã¡ã¢ãªãªã¼ã¯ãã模æ§ã(確ãã«èãã¦ã¿ãããã£ã¡ã®æ¹ããªã¼ã¯ãããã»ã») ããã§ãã¤ã³ãã ã£ãã®ã¯onreadystatechangeã«ãnullããå ¥ãã¦ãå¹æããªããé¢æ°å¤ã§å®ç¾©ããã(ã§ããã°ã°ãã¼ãã«ã¹ã³ã¼ãã®)空é¢æ°ãå®ç¾©ãããã¨ããã¨ãããã£ããï¼ä¸ã®ã³ã¼ãã§ããã¨Prototype.emptyF
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 start to read this page, I assume that you do have a IE6 browser available and test these cases your self like I always did. Of course, you should know memor
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}