International Business Machines Corporation
Automated extension of program data storage
Last updated:
Abstract:
Provided is a method for determining data storage is insufficient for a program. A processor may receive a set of marked data associated with a set of source code. The processor may identify a scope of the code associated with the marked data. The processor may generate a first set of instructions for taking a first snapshot of a variable storage space associated with the marked data when entering the scope and a second snapshot of the variable storage space when exiting the scope. The processor may generate a second set of instructions for comparing the first and second snapshots to determine a usage amount of the variable storage. The processor may generate a third set of instructions for performing an action in response to the usage amount of the variable storage space exceeding a threshold. The processor may compile the code into an executable.
Utility
10 Dec 2020
19 Jul 2022