Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Automatically detect memory fragmentation in Native processes (i.e., no garbege collection) without the need to instrument the analyzed process

IP.com Disclosure Number: IPCOM000249482D
Publication Date: 2017-Mar-01
Document File: 1 page(s) / 18K

Publishing Venue

The IP.com Prior Art Database

Abstract

Describing a method for detecting memory fragmentation of non-managed, no Grabage-Collection process, Without the need to add instrumentation to the application/process being inspected.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 89% of the total text.

1

Automatically detect memory fragmentation in Native processes (i.e., no garbege collection ) without the need to instrument the analyzed process

MemoryfootprintofApplicationisnotoptimalperrealmemoryrequirementoftheApplication , i.e.,itislargerthanexpected. Automaticallydetectmemoryfragmentation,thatmightcauseblow-outofprogrammemory,for non-managedprocesses,withouttheneedtoinstrumentthecode,allowingonetoanalyzelegacy programs(noneedtore-build)forsuchcasesofredundantmemoryallocationcausedbythe memoryfragmentation. Provideexternalprogram,thatwilloverseetheexecutionoftheprocessunderstudy,bydoing thefollowing: 1.Set(hardware)brakepointon"memoryallocation"functionandon"memoryfree"function 2.Collectinformationonallmemoryallocationoperations- a.Thesizeoftheallocatedsegment b.Thelocationinwhichitwasset(pointeraddressreturnedfromtheallocationfunction) 3.Collectinformationonallmemoryfreeoperations a.Thelocationthatwasfreed(indicatedbythepointeraddresspassedtothefreefunction) b.Theamountofmemoryfreed(ascollectedbystep2above) 4.Createamapofthememoryoccupiedbyactualdata,calculatedby(2)and(3)above 5.Createamapofgaps/holesintheusedmemoryaddressspace,byanalyzingtheused memoryblockscomparedtotheallocatedblocks.

Theanalysiscanbedonefortheentireprocessorperade...