並び順

ブックマーク数

期間指定

  • から
  • まで

41 - 80 件 / 181件

新着順 人気順

heapの検索結果41 - 80 件 / 181件

  • Understanding the Heap - a beautiful mess

    In this blog, I am going to explain the important concepts of Heap and use the ptmalloc in the Glibc 2.31 library as an example. The heap is a beautiful mess :) I really like the saying shown above. The word Heap we always use refers to the dynamically allocated segment in the virtual memory space of a process, but it actually stands for the implementation of the memory pool(the dynamic memory all

    • Leftist Heap - 言語ゲーム

      Chris Okasaki の Purely Functional Data Structures という本を買ってみました。これは、副作用を使わないでいろいろなデータ構造のアルゴリズムを実装するという大変面白い本で、これを読むと、副作用無しで○○が出来るわけがない!という時の○○がだいぶ減ると思います。 サンプルは Standard ML で書かれているのですが、良くわからないのでHaskell で書き直しながら読んでみます(巻末に Haskell での実装例が載ってるけど見ないふり)。 17 ページに Heap というコレクションが紹介されています。これは次の性質をもったコレクションです。 要素は大小関係を持つオブジェクト。 最小の要素だけを取り出す事が出来る。 ようするにあるリストをソートして最小の奴を取り出したいという場合、取り出す物が最小の物だけならばソートするより効率の良い方法

        Leftist Heap - 言語ゲーム
      • Kilohearts、複数のエフェクトを自由に組み合わせることができる“モジュラー・エフェクト・プラグイン”、「Snap Heap」の無償配布を開始! 標準で5種類のエフェクトが付属

        「Snap Heap」は、複数のエフェクトを組み合わせることで、複雑な処理を実現するモジュラー・エフェクト・プラグイン。「Snap Heap」の中で使用できるエフェクトは“Snapin”と呼ばれ、パッケージにはChorus、Delay、Gain、Limiter、Stereoという5種類の“Snapin”が付属。その他、有償の“Snapin”も13種類用意されており、“Snapin”は「Snap Heap」内だけでなく、単体のプラグインとして使用することも可能になっています。 「Snap Heap」には4本のレーン(チャンネル)が用意されており、ここに任意の“Snapin”を複数、直列でアサインすることができます(レーン上をクリックすれば、ポップアップ・メニューが表示されます)。各レーンは、ミュート/ソロ・スイッチのほか、Gain、Pan、Mixノブを装備。デフォルトでは左のレーンから右のレ

          Kilohearts、複数のエフェクトを自由に組み合わせることができる“モジュラー・エフェクト・プラグイン”、「Snap Heap」の無償配布を開始! 標準で5種類のエフェクトが付属
        • java.lang.OutOfMemoryError: Java heap space (src's note)

          ■ 現象 開発中のClick製Webアプリで、急に検索結果が表示されなくなったので調査してみると、OutOfMemoryErrorが 発生していました。発生している箇所はHtmlStringBufferのコンストラクタで、lengthは34763100でした。 public HtmlStringBuffer(int length) { characters = new char[length]; }; 大量の検索結果をテーブルでレンダリングしようとして、Table.toString()を呼び出したところでOutOfMemoryErrorが発生していたみたいです。Javaではヒープサイズを起動時パラメータで 指定するのが流儀なのでとりあえず起動時パラメータを変更して対応することにしました。 ■ 対策 EclipseのTomcat Pluginの設定を変更します。ウィンドウ→設定→Tomcat

          • GitHub - airlift/slice: Java library for efficiently working with heap and off-heap memory

            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              GitHub - airlift/slice: Java library for efficiently working with heap and off-heap memory
            • GitHub - noahd1/oink: Log parser to identify actions which significantly increase VM heap size

              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                GitHub - noahd1/oink: Log parser to identify actions which significantly increase VM heap size
              • Escape the 1.4GB V8 heap limit in Node.js!

                (continued from the sprites scalability experiments [250k] [100k]) Well, finally found a work around for the 1.4GB limit imposed on the V8 heap. This limitation was at first a “hard” limit, and after some tweaks it became a “soft” limit. Now, the combined tweaks listed below have removed the limit entirely! YESSSSSS!! The first two were already mentioned in my previous few blog articles, and the n

                  Escape the 1.4GB V8 heap limit in Node.js!
                • 画像を素敵なアニメーションで次々に表示させるjQueryのイメージギャラリー「Heap Shot」 – bl6.jp

                  とても素敵な画像の見せ方だったのでご紹介します。jQueryプラグインのイメージギャラリーを実装できる「Heap Shot」です。実際に写真を手に持って見ているかのような、そんなアニメーションを付けることができます。使い方もシンプルでよさそうですね。 [ads_center] 使い方 このように、写真が上から下へ移動しながら順番に表示されていきます。おもしろいアニメーションですね。 マークアップもとてもシンプルです。 <ul class="heapshot"> <li><img src="img1.jpg" /></li> <li><img src="img2.jpg" /></li> <li><img src="img3.jpg" /></li> ・・・(中略)・・・ </ul> Heap Shotの呼び出し。 jQuery(document).ready(function($) { $

                    画像を素敵なアニメーションで次々に表示させるjQueryのイメージギャラリー「Heap Shot」 – bl6.jp
                  • Fault Tolerant Heap - Win32 apps

                    Affected Platforms Clients - Windows 7 Feature Impact Severity - Medium Frequency - Low Description The Fault Tolerant Heap (FTH) is a subsystem of Windows 7 responsible for monitoring application crashes and autonomously applying mitigations to prevent future crashes on a per application basis. For the vast majority of users, FTH will function with no need for intervention or change on their part

                      Fault Tolerant Heap - Win32 apps
                    • GitHub - shellphish/how2heap: A repository for learning various heap exploitation techniques.

                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                        GitHub - shellphish/how2heap: A repository for learning various heap exploitation techniques.
                      • jmapを用いたJVM Heapの状態調査

                        メモ。 参考:http://www.javainthebox.net/laboratory/JavaSE6/managementtools/mngtools.html jmapは、JVMのHeapメモリ内の情報をdumpするためのツールです。 http://docs.oracle.com/javase/jp/6/technotes/tools/share/jmap.html 引数にjavaのプロセスIDを渡してあげると、当該プロセスのメモリ情報をダンプすることができます。 jmap -dump:format=b,file=[file name] [pid] 上記の例では、バイナリ形式でheapのダンプ情報を出力します。 ダンプしたファイルは色々なツールで可視化が可能ですが、javaの標準コマンドであるjhatが一番楽だと思います。 jhat [file name] 引数のファイルには、上述

                          jmapを用いたJVM Heapの状態調査
                        • Go memory ballast: How I learnt to stop worrying and love the heap | Twitch Blog

                          This post is not available in your language. Here are some other options: English Go memory ballast: How I learned to stop worrying and love the heap I’m a big fan of small code changes that can have large impact. This may seem like an obvious thing to state, but let me explain: These type of changes often involve diving into and understanding things one is not familiar with. Even with the most we

                            Go memory ballast: How I learnt to stop worrying and love the heap | Twitch Blog
                          • Kernel Heap | Writing an OS in Rust (First Edition)

                            Apr 11, 2016 (updated on Nov 19, 2017) No longer updated! You are viewing the a post of the first edition of “Writing an OS in Rust”, which is no longer updated. You can find the second edition here. In the previous posts we created a frame allocator and a page table module. Now we are ready to create a kernel heap and a memory allocator. Thus, we will unlock Box, Vec, BTreeMap, and the rest of th

                            • Large Object Heap と.NET GC の改善

                              Rustが再評価される:エコシステムの現状と落とし穴 In this article, we share findings and insights about the Rust community and ecosystem and elaborate on the peculiarities and pitfalls of starting new projects with Rust or migrating to Rust from othe...

                                Large Object Heap と.NET GC の改善
                              • Win7: Fault Tolerant Heap

                                この機能はなんぞやと…。 なかなか、衝撃的な機能です。一言でまとめると アプリケーションのヒープクラッシュを監視して、次回起動時にクラッシュを自動的に回避する です。ちなみに、Windows 7 限定の機能です。 アプリケーションがヒープ関係の例外を発生した際に、OS 側で検知して、その部分を何とかして回避するように メモリ配置を変えて、動かすという何とも言えない機能です。 そのため、初回起動時にアプリケーションがヒープクラッシュしても、二度目、三度目…に起動すると 何事も無かったかのように動いてしまいます。 ユーザー目線では、良い機能だと思いますが、開発者目線だと、悩ましいですね。 なお、FTH ですが、Microsoft Research も絡んでいるようですね。 DieHard: Memory Error Fault Tolerance in C and C++ http://res

                                  Win7: Fault Tolerant Heap
                                • Imogen Heap - "Just For Now"

                                  Live at Studio 11 103.1FM (hosted by Zach Braff, promoting the movie "The Last Kiss" - 9/15/06)

                                    Imogen Heap - "Just For Now"
                                  • Monitoring the JVM Heap with JRuby

                                    DevCoach A developer coaching platform to improve productivity and code quality. FogBugz An easy-to-use software project management tool designed with an agile-first mindset.

                                      Monitoring the JVM Heap with JRuby
                                    • [PDF] Windows 10 Segment Heap Internals

                                      • VOYAGEで遅めのAdventureしてきた話 - Ric.'s rubbish heap.

                                        しれっとTreasure Advent Calendar 2019の13日目に入れちゃいました…笑 今回はVOYAGE GROUPさん(以後VG)のZucksデータチームの西林さんの元(お隣)で9月に行われていたAdventure voyagegroup.com の内容をベースにしてAd-networkにおける… 配信条件を満たす配信制御 多腕バンディット問題を用いた配信戦略 機械学習を用いたCTR予測 フィードバック制御を用いた配信制御 この辺りを三日間で総ざらいしていく形で参加させて頂きました! 講師の西林さんの伝えたかった事のまとめもありますのでこちら hagino3000.blogspot.com も合わせて是非! 参加の経緯 もともとアドテク分野において DSPのモデルを組んだことはあったがAd-networkでの経験は無かった ということもありましたが、何よりも VOYAGE

                                          VOYAGEで遅めのAdventureしてきた話 - Ric.'s rubbish heap.
                                        • GitHub - paulirish/memory-stats.js: minimal monitor for JS Heap Size via performance.memory

                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                            GitHub - paulirish/memory-stats.js: minimal monitor for JS Heap Size via performance.memory
                                          • heap exploitationテク走り書き - 生きたい

                                            これはCTF Advent Calenderの記事でもなんでもありません。 なんか最近CTFから退いていたので、色々とglibcのheap allocator周りのpwnテクに発展があったりしたかなあと思い眺めてたんですけど、面白いものはほとんどなかったと共に人の書き方があまりにも辛い感じになっていて、ボケが入っていて良く過去の記事を参照してexploitを書く僕からすると当てにならなくて辛かったので自分用に少しメモっておく。後皆雑にExploitationテクに名前つけすぎ。 House of *系 前々からあったテクだしよく使いはするんだけど他人のWriteup見てて名前が出てきてもどのテクがどれを指してるのかよく分からなくなるのでメモっとく House of Mind arena forgeして任意のアドレスをheapのアドレスで書き換えてるだけ。 sploitfunのブログ書き方が

                                              heap exploitationテク走り書き - 生きたい
                                            • Magic Leap is a Tragic Heap

                                              The title of this review was carefully chosen, not glibly.  I want what is best for VR and all other technologies on the Reality–Virtuality Continuum, Magic Leap included.  Unfortunately, their current offering is a tragedy in the classical sense, even more so when you consider how their massive funding and carefully crafted hype sucked all the air out of the room in the AR space.  It is less of a

                                                Magic Leap is a Tragic Heap
                                              • 【進撃の巨人 MAD】 The Walk / Imogen Heap

                                                ■The Walk 進撃の巨人MAD ダイジェスト個人的にサビがおすすめ→ #2:34  テーマ「絶望」完成品のMADとしては第1作目です よかったら最後までどうぞ ※歌詞は進撃の巨人に合うよう勝手に和訳、意訳しているのでご理解を■Music: Imogen Heap - The Walk■Movie: √misora-未空 mylist/33594721 Twitter → @misora_4151■Software: Aviutl新作 → 【進撃の巨人 MAD】 Open Your Eyes / Sum41 sm21393173

                                                  【進撃の巨人 MAD】 The Walk / Imogen Heap
                                                • CMS heap fragmentation. Follow up 1

                                                  I have recently published an article Java GC, HotSpot's CMS and heap fragmentation. Post has lead to a number of interesting discussions and here I want to present some hard numbers from my experiments to back up these discussions. Test application is a synthetic application. It is allocating byte arrays of random size and eventually releasing them (with fairly complex pattern). Though application

                                                    CMS heap fragmentation. Follow up 1
                                                  • zend_mm_heap corrupted とは - [PHP + PHP] ぺんたん info

                                                    PHP5.2以降で、ページ表示のときにブラウザ画面が真っ白になったり、PHPファイルのダウンロード表示が出る場合です。 このときサーバからのレスポンスが HTTP/0.9 200 OK のみで、これ以外なにもレスポンスがない状態です。 表示内容がないため、画面が真っ白になる。 レスポンスコードのみのため、Content-Typeを判断できず、拡張子.phpからPHPファイルのダウンロードとなります。 Apacheのエラーログ(error.log)では、メモリマネージャのヒープメモリの破損したことが残ります。 zend_mm_heap corrupted これはPHP5.2以降で採用されたメモリー・マネージャーによるものです。 環境変数のZEND_MM_MEM_TYPEやZEND_MM_SEG_SIZEを調整するとか、php.iniの memory_limit の値を大きくすることで解消され

                                                    • Heap Overflow in Floating Point Parsing (CVE-2013-4164)

                                                      Posted by tenderlove on 22 Nov 2013 There is an overflow in floating point number parsing in Ruby. This vulnerability has been assigned the CVE identifier CVE-2013-4164. Details Any time a string is converted to a floating point value, a specially crafted string can cause a heap overflow. This can lead to a denial of service attack via segmentation faults and possibly arbitrary code execution. Any

                                                      • Tool for analyzing large Java heap dumps - Stack Overflow

                                                        I have a HotSpot JVM heap dump that I would like to analyze. The VM ran with -Xmx31g, and the heap dump file is 48 GB large. I won't even try jhat, as it requires about five times the heap memory (that would be 240 GB in my case) and is awfully slow. Eclipse MAT crashes with an ArrayIndexOutOfBoundsException after analyzing the heap dump for several hours. What other tools are available for that t

                                                          Tool for analyzing large Java heap dumps - Stack Overflow
                                                        • The Definitive Guide to Ruby Heap Dumps, Part I

                                                          In my last post, we looked at how you can dig into memory "leaks" on Heroku. These techniques all work well if you can reproduce the memory bloat locally. When you can't, we can take a "heap dump" off of a running production server and analyze it for more information. In this two-post series, we'll look at the basics of what a heap dump is, what the contents look like, how to analyze one, and how

                                                            The Definitive Guide to Ruby Heap Dumps, Part I
                                                          • Hammerspace: Persistent, Concurrent, Off-heap Storage

                                                            By Jon Tai What is hammerspace?According to Wikipedia, “hammerspace is a fan-envisioned extradimensional, instantly accessible storage area in fiction, which is used to explain how animated, comic, and game characters can produce objects out of thin air.” We recently built a library that stores strings off the ruby heap, but still allows fast access of those strings from within ruby. Applications

                                                              Hammerspace: Persistent, Concurrent, Off-heap Storage
                                                            • レゴで制作された廃墟「Lego: Victorian on Mud Heap」: DesignWorks Archive

                                                              世界中で制作されている、レゴを利用したクリエイティブワーク。今回紹介するのはレゴのイメージとは少し違う、レゴで制作された廃墟「Lego: Victorian on Mud Heap」です。 こちらの作品は110,000 - 130,000ものレゴブロックを利用していて、かなり詳細に作りこまれています。使われているパーツは黒、白と灰色のブロックのみで創られていて、フォトレタッチなどは背景や色補正レベルでオリジナルのレゴバーツを活かして制作されています。この作品は全3部作でその詳細が公開されていましたので、下記からご覧ください。 詳しくは以下 少しのパーツの有無で印象が変わってしまいそうな繊細なアート作品。メイキングは一部ですが「Mike Doyle's Snap」からご覧いただけます。 かなり細かな部分まで作りこまれていて、制作にはおよそ600時間をかけ、夫婦で創り上げたそうです。こちらはア

                                                                レゴで制作された廃墟「Lego: Victorian on Mud Heap」: DesignWorks Archive
                                                              • DX12のD3D12_HEAP_TYPEについて

                                                                • Eclipseで『Java heap space』と出て処理が止まるときの対処法 - [Eclipse/開発環境 ツール類] ぺんたん info

                                                                  Eclipseで『Java heap space』と出て、SVN(Subversion)などの処理が止まるときにはEclipseのJavaVMに割り当てられているヒープメモリが不足しています。 この場合はJavaVMのヒープメモリの最大値を変更する必要があります。 SVN(Subversion)では、ダウンロードされるファイルなどは一旦ヒープメモリに蓄えられた後にファイルとして保存されるため、ダウンロードファイルより大きなメモリ領域が必要です。 [参考記事] Subclipse Eclipse用のSVNクライアントプラグイン [参考記事] subclipseの操作をするとEclipseが閉じてしまう [参考記事] Eclipseの.projectファイルやThumbs.dbをコミットしないようにする設定 [参考記事] Mercurialクライアント Eclipseプラグイン 対処方法 起動

                                                                  • Pairing heap - Wikipedia

                                                                    A pairing heap is a type of heap data structure with relatively simple implementation and excellent practical amortized performance, introduced by Michael Fredman, Robert Sedgewick, Daniel Sleator, and Robert Tarjan in 1986.[1] Pairing heaps are heap-ordered multiway tree structures, and can be considered simplified Fibonacci heaps. They are considered a "robust choice" for implementing such algor

                                                                    • eclipseでTomcat使って java heap space - kuniku’s diary

                                                                      プロジェクトが大きく(クラス量が増えてくると)なると tomcat起動しようとして cause:java.lang.OutOfMemmoryメモリーが足りないよー。なんて出たりする。 Web開発のプラグインのWTPを使ってる場合に プロジェクトを右クリック→実行→実行の構成→ 引数 タブを選択して VM引数に、 -Xmx768mなどと指定できるけど、どうもこの画面は見にくいんです。 ってことで、別の画面で設定しちゃおうってことで (eclipse3.4の場合) ウィンドウ→設定→java→インストール済みのJRE プロジェクトが使っているJDKなどを選択して、編集→ デフォルトのVM引数 とテキスト入力ボックスがあるからそこに、 -Xmx768m と入力すればよい。 今回設定してみた値は、 -server -Xmx512m -Xms512m -Xmn192m -XX:NewSize=256

                                                                        eclipseでTomcat使って java heap space - kuniku’s diary
                                                                      • Heap Allocation | Writing an OS in Rust

                                                                        This post adds support for heap allocation to our kernel. First, it gives an introduction to dynamic memory and shows how the borrow checker prevents common allocation errors. It then implements the basic allocation interface of Rust, creates a heap memory region, and sets up an allocator crate. At the end of this post, all the allocation and collection types of the built-in alloc crate will be av

                                                                        • 低断片化ヒープ(Low Fragmentation Heap)

                                                                          LFH(Low Fragmentation Heap)は、メモリの断面化を低減させるための仕組み(*)なわけですが この仕組みを使うためには、意図的に API を呼び出すか、gflags で ON にするかの方法しか ありませんでした。 しかしながら、Windows Server 2008/Vista ではデフォルト ON になっていますので わざわざ、有効にする必要はありません。 (情報を提供してくれた MS の S さんありがとう) Windows Server 2008/Vista では LFH がデフォルト ON になっているため、プログラムの メモリ測定(Private Bytes)を行う場合には注意が必要です。 LFH が有効になっている場合にはヒープの断片化を抑制する働きによって、プログラム上の メモリ獲得と解放のタイミングと、実際のプロセス内のメモリ獲得と解放のタイミングと

                                                                            低断片化ヒープ(Low Fragmentation Heap)
                                                                          • FortiOS - heap-based buffer overflow in sslvpnd | PSIRT Advisories | FortiGuard

                                                                            Explore latest research and threat reports on emerging cyber threats.

                                                                            • Byte Buffers and Non-Heap Memory

                                                                              Byte Buffers and Non-Heap Memory Originally published: 2010-04-04 Last updated: 2017-01-22 Most Java programs spend their time working with objects on the JVM heap, using getter and setter methods to retrieve or change the data in those objects. A few programs, however, need to do something different. Perhaps they're exchanging data with a program written in C. Or they need to manage large chunks

                                                                              • Heap: Terraform Gotchas And How We Work Around Them

                                                                                Heap’s infrastructure runs on AWS, and we manage it using Terraform. This post is a collection of tips and gotchas we’ve picked up along the way. Terraform and infrastructure as codeTerraform is a tool from Hashicorp to help manage infrastructure declaratively. Instead of manually creating instances, networks, and so on in your cloud provider’s console or command line client, you write configurati

                                                                                  Heap: Terraform Gotchas And How We Work Around Them
                                                                                • heap sortを使った上位ランキング取得プログラム - 遥かへのスピードランナー

                                                                                  Managing Gigabytes 4.6章で解説されているソートのプログラムを実装してみた。 検索エンジンなどでN個のデータの中から上位r個を取得したい場合、まずN個のデータからなるmax-heapを構成して、ルート(最大値)から順にr個をヒープから取り除くというアプローチが考えられる。しかしN>>rの場合、r個のデータからなるmin-heapを構成して、残りのN-r個のデータをheapのルート(最小値)と順次比較して、ルートよりも大きい場合はルートと入れ替えて、heapを再構成する、という手順を取った方がより計算量が少なくて済む、という話。 10万件のランダムな数値をスペース区切りで出力するプログラム #include <iostream> #include <stdlib.h> using namespace std; int main (int argc, char *argv[

                                                                                    heap sortを使った上位ランキング取得プログラム - 遥かへのスピードランナー