Electronic device and method for managing memory of electronic device

    公开(公告)号:US12223185B2

    公开(公告)日:2025-02-11

    申请号:US18191423

    申请日:2023-03-28

    Abstract: According to an embodiment, an electronic device includes: at least one processor and a memory configured to store instructions that can be executed by the processor, wherein the processor may be configured to: monitor information about the storage space of the memory and usage histories of a plurality of objects executed by the processor, determine a target object, of which the compile scheme is to be changed, among the plurality of objects based on at least one of the information and the usage histories; and increase the free storage space of the memory by changing the compile scheme of the target object.

    Method for updating application and electronic device of the same

    公开(公告)号:US12050900B2

    公开(公告)日:2024-07-30

    申请号:US17749700

    申请日:2022-05-20

    CPC classification number: G06F8/65

    Abstract: An electronic device may include a memory, a communication circuit, and a processor configured to be operatively connected to the memory and the communication circuit, wherein the processor may be configured to: receive an update package of a first application from a server through the communication circuit, based on a request to update the first application; identify at least one application related to execution of the first application; identify whether at least one of the first application or the related at least one application is currently being executed; and based on identifying that the at least one of the first application or the related at least one application is currently being executed, store the update package in the memory, and delay updating the first application by using a timer.

    Method and apparatus for reducing operation of garbage collection

    公开(公告)号:US11868249B2

    公开(公告)日:2024-01-09

    申请号:US17880104

    申请日:2022-08-03

    CPC classification number: G06F12/0253 G06F12/0246 G06F2212/7205

    Abstract: A method, performed by an electronic device, includes: based on a target event associated with an application being initiated, transmitting initiation of the target event to a runtime environment of the application, and after transmitting the initiation of the target event to the runtime environment, based on a memory value allocated to the application exceeding a threshold value for determining whether to initiate a garbage collection, skipping performing the garbage collection and updating a bound memory value, defined in the garbage collection, and the threshold value.

    Method and apparatus for improving runtime performance after application update in electronic device

    公开(公告)号:US11327739B2

    公开(公告)日:2022-05-10

    申请号:US17004192

    申请日:2020-08-27

    Abstract: Disclosed are a method and an apparatus for improving runtime performance when an application installed in an electronic device is updated. An electronic device according to various embodiments may include: a communication circuit configured to perform radio communication; at least one processor operatively connected to the communication circuit; and a memory operatively connected to the processor, wherein the memory stores instructions which, when executed, cause the processor to: detect updating of an application; obtain an update file for updating the application based on detecting updating of the application; obtain first information previously recorded in association with the application and second information related to the update file of the application while installing the application; and produce, based on matching performed between the first information and the second information, a new profile to be used in the application after the updating.

Patent Agency Ranking