CN105893110A - Method and device for recovering memories of software programs with display interfaces - Google Patents
Method and device for recovering memories of software programs with display interfaces Download PDFInfo
- Publication number
- CN105893110A CN105893110A CN201510648453.XA CN201510648453A CN105893110A CN 105893110 A CN105893110 A CN 105893110A CN 201510648453 A CN201510648453 A CN 201510648453A CN 105893110 A CN105893110 A CN 105893110A
- Authority
- CN
- China
- Prior art keywords
- page
- view
- subclass
- class
- sky
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000015654 memory Effects 0.000 title claims abstract description 106
- 238000000034 method Methods 0.000 title claims abstract description 76
- 230000004044 response Effects 0.000 claims abstract description 13
- 230000000694 effects Effects 0.000 claims description 27
- 230000008569 process Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 6
- 238000007599 discharging Methods 0.000 claims 1
- 230000007246 mechanism Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 238000011084 recovery Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 241000406668 Loxodonta cyclotis Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008021 deposition Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
Embodiments of the invention disclose a method and device for recovering memories of software programs with display interfaces. The method comprises the following step: in response to an event, the page of which is closed, emptying the page layout of the page so as to release the memory occupied by a view object quoted by the page. By adopting the method and device disclosed in the invention, the memories which are not used any more can be released in time, so that the system operation performance is improved.
Description
Technical field
The present invention relates to field of computer technology, particularly to a kind of for having the soft of display interface
The method and apparatus of the Memory recycle of part program.
Background technology
Along with terminal technology and the development and progress of software engineering, user can use the various functions of offer
Application complete work, carry out entertaining, the activity such as social.Such as, user can use mobile phone to check
Webpage, use and purchase by group application and buy group buying voucher, check mail, take pictures, use MSN
With good friend's chat etc..
Exploitation for the ease of application software designs, and the most senior operating system is stored back in being equipped with
Receiving mechanism, the most Installed System Memories that automatically can take the most pent program reclaim, and compile
Cheng personnel when coding code without individually writing code these memory sources releasable.
Such as, the application used in Android (Android) system is to compile according to Java programming language
Write.Often open an Android application and turn on an independent virtual machine.Return with the rubbish of Java
Receive mechanism similar, Android system is provided with memory management rule to carry out scheduling memory and recovery.When
When the page is opened, Android application can be that this is opened by the way of memory management rule is with storehouse
Page storage allocation (such as 24MB, 48MB etc.), now, stack pointer can point to internal memory to be increased
Direction, if the free memory in system less than preset memory threshold, then system is automatically returned
Receiving the memory source quoted in the most pent page, now, stack pointer can discharge to internal memory
Direction is adjusted back.
Wherein, Fig. 1 is that Garbage Collector obtains and can be recovered and the showing of the object that can not be recovered
Being intended to, garbage reclamation mechanism obtains the process ginseng of the memory source that can be recovered and can not be recovered
See that Fig. 1, garbage reclamation mechanism obtain any object that this pent page is quoted, then, inspection
Survey whether this object quotes other object and this object whether by cited in other object, in this way
Make a look up detection, and record unreferenced object and the object being cited in the process, as
In Fig. 1, object A, B, C, D, H are cited, and object G is quoted by object F, and object E does not has
Being cited, wherein, arrow represents adduction relationship.If it should be noted that object F is with right
As the adduction relationship between G is destroyed, then object F and object G is not also cited becoming
Object.The mechanism of this on-demand recovery internal memory makes user without manual-lock process.Owing to using
The strategy of on-demand recovery, so can this memory threshold be arranged relatively low, thus uses bar normally
Need not under part frequently carry out Memory recycle, expend system resource.
But, when the more application of EMS memory occupation is frequently to system application internal memory, such as, content
The abundant page is repeatedly opened at short notice, is exited, is opened, is exited repeatedly, due to repeatedly
From system application and take bigger internal memory, now, stack pointer points to the position that EMS memory occupation is bigger
Put, due to the regular setting that referenced object is stored duration of memory management so that garbage reclamation
Mechanism can only reclaim the internal memory (internal memory i.e. taken) that unreferenced object takies such as object E in Fig. 1,
The most it is closed in multiple pages repeatedly the internal memory that the object quoted takies to pile up in systems,
Can not be removed in time, thus be affected the performance that system is overall.Now, due to the most pent
A large amount of internal memories that the page is quoted are not reclaimed in time, therefore when the memory source having process application again
When exceeding threshold value (i.e. stack pointer points to the maximum of internal memory) of permission, in system will be dished out
Deposit spilling (Out Of Memory, OOM) abnormal, cause this process cannot be properly functioning.
Summary of the invention
Embodiments of the invention provide the Memory recycle of a kind of software program for having display interface
Method and apparatus so that the internal memory being no longer used is released in time, improve system maneuverability
Energy.
For reaching above-mentioned purpose, The embodiment provides a kind of for having display interface
The method of the Memory recycle of software program.Described method includes, in response to the pent event of the page,
The page layout of the described page is emptied, in the view object quoted to discharge the described page takies
Deposit.
It addition, described software program is Android application program, the described page be Activity class or its
The object of subclass, described view object is the object of View class or its subclass.
It addition, the pent event of the described page includes the object of described Activity class or its subclass
OnDestroy method be called.
It addition, described, the process that the page layout of the described page empties is included: at described Activity
In the onDestroy method of the object of class or its subclass, create empty XML page face layout object or
Empty View class object or the object of its subclass, and with the XML page face layout object of described sky
Or the View class object of sky or its subclass object are its setContentview method of parameter call, with
Discharge the internal memory that described view object takies.
It addition, described method also includes: the data field quoted in the described page is set to sky,
To discharge the internal memory that described data field takies.
For reaching above-mentioned purpose, embodiments of the invention additionally provide a kind of for having display interface
The device of Memory recycle of software program.Described device includes: page close detection module, uses
In the detection pent event of the page;View release respond module, for being closed in response to the page
Event, the page layout of the described page is emptied, to discharge the view object that the described page is quoted
The internal memory taken.
It addition, described software program is Android application program, the described page be Activity class or its
The object of subclass, described view object is the object of View class or its subclass.
It addition, described view release respond module is for calling described Activity class or its subclass
The onDestroy method of object.
It addition, described view release respond module includes: Object Creation unit, for described
In the onDestroy method of the object of Activity class or its subclass, create empty XML page face cloth
Office's object or the View class object of sky or the object of its subclass;View object releasing unit, for
The XML page face layout object of described sky or the View class object of sky or its subclass object are that parameter is adjusted
By its setContentview method, to discharge the internal memory that described view object takies.
It addition, described device also includes: data field release module, for will the described page draw
Data field be set to sky, to discharge the internal memory that described data field takies.
The side of the Memory recycle of the software program for having display interface that the embodiment of the present invention provides
Method and device, by the response of event pent to the page, with by clear for the page layout of this page
Sky, thus the view object quoted in this page in releasing memory so that the internal memory being no longer used
It is released in time, increases the free space of internal memory, improve the runnability of system.
Accompanying drawing explanation
Fig. 1 is the schematic diagram that Garbage Collector obtains the object that can be recovered and can not be recovered;
Fig. 2 is stored back in the software program with display interface for what the embodiment of the present invention provided
The flow chart of the method received;
Fig. 3 is stored back in the software program with display interface for what the embodiment of the present invention provided
The flow chart of the method received;
Fig. 4 is stored back in the software program with display interface for what the embodiment of the present invention provided
The structural representation of the device received;
Fig. 5 is stored back in the software program with display interface for what the embodiment of the present invention provided
The structural representation of the device received;
Fig. 6 is stored back in the software program with display interface for what the embodiment of the present invention provided
The structural representation of the device received.
Detailed description of the invention
The inventive concept of this programme is to provide a kind of recovery in the software program have display interface
The technical scheme of internal memory: event pent to the page responds, by the page layout of this page
Empty, thus the view object quoted in this page in releasing memory on one's own initiative so that no longer made
Internal memory be released in time, improve system runnability.
Below in conjunction with the accompanying drawings to the embodiment of the present invention for having the internal memory of the software program of display interface
The method and apparatus reclaimed is described in detail.
Embodiment one
Fig. 2 is being stored back in the software program with display interface of embodiment of the present invention offer
The flow chart of the method received.Perform described by the computer system including device as shown in Figure 4
Method.
As in figure 2 it is shown, in step S210, detect that the page is closed.
Wherein, software program can be application program based on windows operating system, or
Android application program based on Android operation system, or be application based on iOS operating system
Program etc..The page is the display element in display interface, and wherein, the page can be in software program
Any object (option etc. as in button or menu) trigger generate the page, such as, i.e.
Time communication applications " interpolation " button corresponding add good friend the page etc..
Such as, application program is when starting or carrying out State Transferring, certain to operating system application
Memory headroom, and the view object that the page uses is loaded in internal memory, and show.When with
When family completes to process accordingly this page of closedown based on certain page, application program can be examined by registration
Survey window events, its callback method detects the pent operation of this page.Using higher level
The software program write of programming framework in, can be detected this by the designation method in program architecture
The pent operation of the page.
In step S220, in response to the pent event of the page, by clear for the page layout of the described page
Sky, the internal memory that the view object quoted to discharge the described page takies.
Wherein, view object may be used for describing the window view of certain page that terminal unit shows.
Any display key element in the page can be view object, such as include but not limited to order button,
Image/icon, list and/or list etc..
When often opening a page due to user, this application program can be to the certain internal memory of system application
Space, and the view object that respective page uses is loaded in internal memory.When this page is closed,
Due to the restriction of Memory System management rule, the data that this page uses can't be along with the page
Close and all immediately removed from internal memory, wherein part data can in internal memory resident certain time
Long.If being repeatedly opened at short notice, closing the abundant in content page (as view elements is many
The page), owing to checkout time is short, the view object that these pages being repeatedly opened/closing are quoted
And data object major part fails immediately to remove, these pages are caused to hold over after being closed greatly
Amount internal memory so that system free memory drastically reduces.
To this end, in step S220, in response to the pent event of the page, by by the described page
Page layout empties, and can be set to no longer be cited by the view object that the described page is quoted on one's own initiative,
Therefore the Memory recycle actively this view object taken when the page is closed, to operating system, carries
The runnability of high system.Thus can avoid aforementioned being repeatedly opened at short notice, to close content rich
The situation that the system free memory caused in the case of the rich page drastically reduces.
The side of the Memory recycle of the software program for having display interface that the embodiment of the present invention provides
Method, by the response of event pent to the page, so that the page layout of this page is emptied, from
And the view object quoted in this page in releasing memory so that the internal memory being no longer used quilt in time
Release, increases the free space of internal memory, improves the runnability of system.
Embodiment two
Below by with the software program of Android system be example describe in detail the present invention be used for have aobvious
The method showing the Memory recycle of the application program at interface.It may be noted that the inventive concept of the present invention
It is suitable for and is not limited to Android system, and apply to the application with display function of any operating system
Program/software program.
The side of the Memory recycle of the software program for having display interface that Fig. 3 provides for the present invention
The flow chart of another embodiment of method.
Wherein, software program is the Android application program using Java programming language to write.Android should
The page presented by program and view etc. are that the object by respective class or its subclass is built-up.
Such as, its page can be the object of Activity class or its subclass, view object can be View class or
The object of its subclass.Wherein, it is shown in the page of user to include multiple view, such as, aobvious
Text data in the page shown can be text view, and the button in the page of display is alternatively one
View etc.;Accordingly, the object of View class or its subclass can include TextView class object,
The object etc. of Button.
As it is shown on figure 3, in step S310, the onDestroy of the object of Activity class or its subclass
Method is called.This step is corresponding to abovementioned steps S210, for one of its specific implementation.
Specifically, when certain page of Android application program is created, Activity class or its
In the onCreate method of subclass, the XML page face layout object corresponding with this page or existing
View class or the object of its subclass be parameter call setContentview method, to build wherein
View class or the object of its subclass.
When user closes certain page aforesaid, right when the Activity class of this page or its subclass
The onDestroy method of elephant is called, to allow aforesaid object to carry out the cleaning operation of necessity.
In step S320, create empty XML page face layout object or the View class object of sky or its
The object of subclass.
Wherein, XML page face layout object can be used for describing certain page Chinese version of Android application program
The information such as the position in this page such as data, button, shape.
In step S330, with the empty XML page face layout object created in S320 or sky
View class object or its subclass object are its setContentview method of parameter call, to discharge
State the internal memory that view object takies.
Generally, when writing the onDestory method of the class taking resource, its data field is put
For null, release the relation that described data field is cited, thus the correspondence memory of release busy provides
Source.Such as:
public void onDestory(){
TextView1=null;// put null, releasing memory
......
//etc.
super.onDestory();
}
But, as it was previously stated, when certain page of Android application program is created, at Activity
In the onCreate method of class or its subclass, with the XML page face layout object that this page is corresponding
Or the object of existing View class or its subclass is parameter call setContentview method, with structure
Build the View class or the object of its subclass used in the page.Specifically, in setContentView side
In method, create the View class used in the page or its son by the Inflate method of Inflater class
The object of class, such as Contentview=ViewInflater.Inflate ().Due to the view object created
Contentview is the privately owned field of the parent of Activity, it is impossible to enough directly invokes and is set to
Null (Contentview=null).
Therefore, it is impossible to the page in the View class of Activity object or the object of its subclass is closed
Time actively reclaim the internal memory that view object takies, but generally rely on Android system memory management and
Reclaim mechanism reclaims the internal memory that these view object take, so the virtual machine storehouse in Android system
Pointer can not be adjusted back in time.
Android application program can be caused to dish out additionally, due to call setContentview (null)
NullPointerException (i.e. null pointer is abnormal), the most inapplicable.
In order to release the adduction relationship of view object in the page in onDestory method in time,
Should from the structure principle of the definition of setContentview with the object of Activity class, i.e. Android
By program by setContentview method, and the incoming XML page face cloth corresponding with this page
Office's object builds the Activity object of full page, can create an empty XML page face layout
The View class object of object or sky or the object of its subclass, then, then the XML page face with this sky
The View class object of layout object or sky or its subclass object are its setContentview of parameter call
Method.By aforementioned processing, remove the view layout in the page, release view object in the page
Adduction relationship, discharges the internal memory that these view object take on one's own initiative.Such that make abundant in content
The page be repeatedly opened at short notice, exited, opened, exited repeatedly so that be closed
The internal memory bulk deposition in systems that the object quoted in multiple pages repeatedly takies, it is possible to pass through
View layout in the page is removed by above-mentioned process, releases the adduction relationship of view object in the page,
So that Android application program is reclaimed by garbage reclamation mechanism and deletes from internal memory, main
Discharge the internal memory that these view object take dynamicly.
Except above-mentioned view object in internal memory is reclaimed in addition to, also can be to other objects in internal memory
Reclaim, such as, the data field quoted in the described page is set to sky, described with release
The internal memory that data field takies.
Wherein, data field can include Android operation system preset global variable or local variable,
The local variable etc. that Android application program is preset, such as, the display size etc. of certain page.
The side of the Memory recycle of the software program for having display interface that the embodiment of the present invention provides
Method, by calling the onDestroy of the object of the Activity class in Android application program or its subclass
Method, creates empty XML page face layout object or the View class object of sky or the object of its subclass,
And with create object for its setContentview method of parameter call, carry out the view of freeing of page
The internal memory that object takies so that the internal memory being no longer used is released in time, increases the available of internal memory
Space, it is to avoid the unusual conditions such as OOM occurs in system, improves the runnability of system.
Embodiment three
Based on identical technology design, the embodiment of the present invention additionally provides a kind of for having display circle
The device of the Memory recycle of the software program in face.As shown in Figure 4, described device includes page close
Detection module 410 and view release respond module 420.
Page close detection module 410 is used for detecting the pent event of the page.
View release respond module 420 is in response to the pent event of the page, by the described page
Page layout empty, the internal memory that the view object quoted to discharge the described page takies.
It addition, described software program is Android application program, the described page be Activity class or its
The object of subclass, described view object is the object of View class or its subclass.
It addition, view release respond module 420 is for calling described Activity class or its subclass
The onDestroy method of object.
It addition, on the basis of embodiment illustrated in fig. 4, view release respond module as shown in Figure 5
420 include: Object Creation unit 421, for the object in described Activity class or its subclass
In onDestroy method, create empty XML page face layout object or the View class object of sky or
The object of its subclass;View object releasing unit 422, for the XML page face layout with described sky
The View class object of object or sky or its subclass object are its setContentview method of parameter call,
To discharge the internal memory that described view object takies.
Further, on the basis of embodiment illustrated in fig. 4, device as shown in Figure 6 is all right
Including: data field release module 430, arrange for the data field will quoted in the described page
For sky, to discharge the internal memory that described data field takies.
The dress of the Memory recycle of the software program for having display interface that the embodiment of the present invention provides
Put, by the response of event pent to the page, so that the page layout of this page is emptied, from
And the view object quoted in this page in releasing memory so that the internal memory being no longer used quilt in time
Release, increases the free space of internal memory, improves the runnability of system.
Further, in the embodiment of the present invention, on the one hand, by calling in Android application program
The onDestroy method of the object of Activity class or its subclass, creates empty XML page face layout
The View class object of object or sky or the object of its subclass, and with create object for parameter call its
SetContentview method, carrys out the internal memory that the view object of freeing of page takies so that no longer made
Internal memory can be released in time, increase internal memory free space, it is to avoid there is OOM in system
Deng unusual condition, improve the runnability of system.On the other hand, also by calling onDestroy
Method empties process to the data field quoted in the page so that the internal memory being no longer used can
To be the most further released, expand the free space of internal memory, can further improve system
Runnability.
It may be noted that according to the needs implemented, each step/parts described in this application can be torn open
It is divided into more multi-step/parts, it is possible to by two or more step/parts or the part of step/parts
Step/parts that operational group synthesis is new, to realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as depositing
Store up the software in record medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk)
Or computer code, or be implemented through original storage that network downloads at remotely record medium or
In nonvolatile machine readable media and the computer code in local recording medium will be stored in, from
And method described here can be stored in use general purpose computer, application specific processor or able to programme
Or the such software processes on the record medium of specialized hardware (such as ASIC or FPGA).Can
To understand, computer, processor, microprocessor controller or programmable hardware include storing or
Receive software or the storage assembly (such as, RAM, ROM, flash memory etc.) of computer code, when
When described software or computer code are by computer, processor or hardware access and execution, it is achieved
This processing method described.Additionally, when general purpose computer accesses for realizing the process being shown in which
Code time, general purpose computer is converted to for performing the process being shown in which by the execution of code
Special-purpose computer.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not
Be confined to this, any those familiar with the art in the technical scope that the invention discloses,
Change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, originally
The protection domain of invention should be as the criterion with described scope of the claims.
Claims (10)
1., for a method with the Memory recycle of the software program of display interface, its feature exists
In, described method includes:
In response to the pent event of the page, the page layout of the described page is emptied, to discharge
State the internal memory that the view object that the page quotes takies.
Method the most according to claim 1, it is characterised in that described software program is Android
Application program, the described page is the object of Activity class or its subclass, and described view object is View
Class or the object of its subclass.
Method the most according to claim 2, it is characterised in that the pent thing of the described page
Part includes that the onDestroy method of the object of described Activity class or its subclass is called.
Method the most according to claim 3, it is characterised in that the described page by the described page
The process that face layout empties includes:
In the onDestroy method of described Activity class or the object of its subclass, create sky
XML page face layout object or the View class object of sky or the object of its subclass, and with described sky
XML page face layout object or the View class object of sky or its subclass object be parameter call its
SetContentview method, to discharge the internal memory that described view object takies.
5. according to the method according to any one of Claims 1 to 4, it is characterised in that described method
Also include:
The data field quoted in the described page is set to sky, takies discharging described data field
Internal memory.
6., for having a device for the Memory recycle of the software program of display interface, its feature exists
In, described device includes:
Page close detection module, is used for detecting the pent event of the page;
View release respond module, in response to the pent event of the page, by the described page
Page layout empties, the internal memory that the view object quoted to discharge the described page takies.
Device the most according to claim 6, it is characterised in that described software program is Android
Application program, the described page is the object of Activity class or its subclass, and described view object is View
Class or the object of its subclass.
Device the most according to claim 7, it is characterised in that described view release response mould
Block is for calling the onDestroy method of the object of described Activity class or its subclass.
Device the most according to claim 8, it is characterised in that described view release response mould
Block includes:
Object Creation unit, at described Activity class or the onDestroy of the object of its subclass
In method, create the right of empty XML page face layout object or the View class object of sky or its subclass
As;
View object releasing unit, for the XML page face layout object of described sky or sky
View class object or its subclass object are its setContentview method of parameter call, to discharge
State the internal memory that view object takies.
10. according to the device according to any one of claim 6~9, it is characterised in that described dress
Put and also include:
Data field release module, for the data field quoted in the described page is set to sky,
To discharge the internal memory that described data field takies.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510648453.XA CN105893110A (en) | 2015-10-09 | 2015-10-09 | Method and device for recovering memories of software programs with display interfaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510648453.XA CN105893110A (en) | 2015-10-09 | 2015-10-09 | Method and device for recovering memories of software programs with display interfaces |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105893110A true CN105893110A (en) | 2016-08-24 |
Family
ID=57001859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510648453.XA Pending CN105893110A (en) | 2015-10-09 | 2015-10-09 | Method and device for recovering memories of software programs with display interfaces |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893110A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107609199A (en) * | 2017-10-24 | 2018-01-19 | 网易无尾熊(杭州)科技有限公司 | A kind of method, equipment and storage medium for handling and recovering the page |
CN110114756A (en) * | 2017-10-09 | 2019-08-09 | 华为技术有限公司 | One type discharging method and electronic equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324500A (en) * | 2013-05-06 | 2013-09-25 | 广州市动景计算机科技有限公司 | Method and device for recycling internal memory |
-
2015
- 2015-10-09 CN CN201510648453.XA patent/CN105893110A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324500A (en) * | 2013-05-06 | 2013-09-25 | 广州市动景计算机科技有限公司 | Method and device for recycling internal memory |
Non-Patent Citations (1)
Title |
---|
佚名: "Android下Activity结束(finish())之后没有释放内存问题的解决方法初", 《HTTPS://BLOG.CSDN.NET/CHEN825919148/ARTICLE/DETAILS/23843049》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110114756A (en) * | 2017-10-09 | 2019-08-09 | 华为技术有限公司 | One type discharging method and electronic equipment |
US11163589B2 (en) | 2017-10-09 | 2021-11-02 | Huawei Technologies Co., Ltd. | Class unloading method and electronic device |
CN107609199A (en) * | 2017-10-24 | 2018-01-19 | 网易无尾熊(杭州)科技有限公司 | A kind of method, equipment and storage medium for handling and recovering the page |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106802803B (en) | Application data processing method and device | |
CN102027447B (en) | Local collections of tasks in a scheduler | |
CN101669092B (en) | Managing object lifetime for native/managed peers | |
CN109634775A (en) | Automatic continuous checkpoint | |
CN105159800B (en) | Data reconstruction method, data back up method and relevant device, system | |
CN103699839A (en) | Method and device of detection processing of core-level rootkit | |
CN103076976A (en) | Method for adding application icon and method and device for removing application icon | |
CN103164432A (en) | Method of recovering mistakenly-deleted files and mobile terminal | |
KR20190058706A (en) | Managing object lifetime in a cyclic graph | |
CN102385513A (en) | Programming language support for reactive programming | |
CN107943501A (en) | Embedded device upgrade method, device, computer equipment and storage medium | |
CN104408201A (en) | Junk file cleaning method and device | |
CN104424015A (en) | Virtual machine management method and virtual machine management device | |
CN106776908A (en) | Data clearing method, device and terminal | |
CN105893110A (en) | Method and device for recovering memories of software programs with display interfaces | |
CN103176709A (en) | Method and system of dragging icon file on desktop mirror image screen | |
CN108431780B (en) | Versioned record management computing system, method and computer readable storage device | |
CN102629231A (en) | Method for detecting task stack | |
CN107391274A (en) | The processing method and processing device of deferred information | |
CN112199042B (en) | Storage space management method, device, chip, equipment and storage medium | |
CN110347448B (en) | Method for constructing runtime model of terminal application behavior | |
CN102567081A (en) | Multi-process-based global setting method and multi-process-based global setting system | |
CN109542672A (en) | Method and apparatus for recycling the memory block in snapshot storage space | |
CN106201464A (en) | A kind of application icon processing method freezing application and mobile terminal | |
CN106250068A (en) | Image processing system and the delet method of application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |
|
WD01 | Invention patent application deemed withdrawn after publication |