How can I programmatically obtain the amount of memory an assembler program is currently using assembler instructions/macros from within the running program? I'm debugging an 878 (out of memory) error, and I"d like my program to report at different stages how much memory it is using.
How can I obtain memory usage information using zos assembler
1.3k Views Asked by FierceMonkey At
1
There are 1 best solutions below
Related Questions in ASSEMBLY
- (x64 Nasm) Writeline function on Linux
- Is the compiler Xcode uses to produce Assembly code a bad compiler?
- Why do we need AX instead of MOV DS, data directly with a segment?
- Bootloader in Assembly with Linux kernel
- How should the byte sequence 0x40 0x55 be interpreted by an x86-64 emulator?
- C++ code into assembly
- Drawing circles of increasing radius
- Assembly print on screen using pop ecx
- Equivalent to asm volatile in Gfortran?
- Show 640x480 BMP image with inline ASM c++
- Keep track of numbers entered in by a user in assembly
- 8086 Assembly Arrays with I/O
- DB ASM variable in Inline ASM C++
- What does Jump to means in callgrind?
- How to convert binary into decimal in assembly x8086?
Related Questions in MEMORY
- DataTable does not release memory
- Impala Resource Estimation for queries with Group by
- Is there any way to get a lru list in Linux kernel?
- C# console application - Unhandled exception while finding the Available and free Ram space.Getting exact answer in windows forms application
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in PHP
- C# equivalent of Java Memory mapping methods
- How to figure out the optimal fetch size for the select query
- Creating two arrays with malloc on the same line
- Using parse.com and having allocation memory issue
- error reading variable: cannot access memory at address
- CentOS memory availability
- Correct idiom for freeing repr(C) structs using Drop trait
- Find Ram/Memory manufacturer in Linux?
- Profiling memory usage on App Engine
- Access Violation: 0xC0000005, why is this happening?
Related Questions in ZOS
- Site code to enable UTF-8 to EBCDIC encoding
- Getting output queue via FTP of a Mainframe (zOS)
- encryption/decryption by REXX
- Authorization required to install jzos batch launcher?
- Connecting ibm_db2 functions (php) on Ubuntu 14.04 to DB2 for z/OS
- How to debug JCL
- SQL differences for DB2 versions
- DB2 Z/OS Insert/Select Performance
- z/OS TSO STACK MACRO to specify alternate DDnames
- Error while creation of queue in WebSphere MQ for z/OS
- UNIDENTIFIED OPERATION FIELD Error in JCL
- How to export VSAM file content to viewable in windows?
- Convert Java Timestamp in TOD Format (Time of Day) on z/os
- What is the meaning of the first byte of each record set when downloading a v(b)-file from z/OS over FTP using "TYPE E" and "MODE B"
- Determine compile options from load module - IBM Enterprise COBOL
Related Questions in MVS
- Reading EBCDIC variable files with comp-3 without COBOL on MVS?
- DB2 for z/OS SQL: OVERRIDING USER VALUE not permitted
- z/OS JCL command /*VS command fails when issued in a proc
- Does anyone have a working Jenkins agent configuration for git clone on z/OS R2.4
- Is there a way to check existence of file in MVS before attempting copy to Unix server
- Moving DataBase from Microsoft SQL folder to App_Data folder (appseting.json)
- How to cancel a JCL job(Mainframe) in SDSF???(OZA1) error
- How can I obtain memory usage information using zos assembler
- IBM Window Services (DWS) csrevw function on MVS
- MVS JES2 purge job with IEFSSREQ macro
- What is the most efficient way to read and set file modification timestamps for MVS data sets and PDS members?
- zosftplib submit_wait_job(jcl) function does not receive JES output
- What are the effects of PR instruction on empty stack
- Cobol v6.2 NUMCHECK option compatibility
- Run step when previous JCL step did not find file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Region size can be set a variety of different ways depending on the type of address space (TSO session, batch job, STC, ...). Some sites set custom region sizes using an SMF exit, so it's not always easy to understand what's going on here.
The limit value for a given address space is stored in the LDA data area (see https://www-304.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3ga320937/$file/iead300_v2r3.pdf). In an assembler program, you'd get this value by following PSAAOLD to ASCBLDA and then examining whatever region size you're looking for.
A more modern interface to this stuff is available in the various UNIX Services APIs on z/OS. For example, getrusage (BPX1GRU) gives you your resource utilization for several resources, including memory. All an assembler program needs to use this stuff is a UNIX UID value in your security information - no other special setup is needed.