Details
-
Feature
-
Status: Dismissed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
None
-
None
Description
Since release 1.3.9. it is possible with the command <show_state what="operations" /> to query the current memory allocations of the binary. The memory usage information of the operating system is currently only implemented for windows.
Example:
<spooler>
<answer>
<state>
<jobs>
...
</jobs>
...
<java_subsystem>
...
</java_subsystem>
<allocations count="732" size="278308" uom_memory_values="MB" reserved_virtual="402.621" total_virtual="2047.875" avail_virtual="1645.254" total_physical="2046.703" avail_physical="229.336" total_pagefile="3950.969" avail_pagefile="1616.281" memoryload="0.000">
<allocation count="5" name="Any_file_obj" size="208"/>
<allocation count="1" name="CLASS( class_name() ) c:\scheduler\scheduler.src.devel\engine\kernel-cpp\prod\zschimmer\java2.h" size="72"/>
....
This memory alloction information is only available if the environment variable SOS_SCHEDULER_DEBUG_MEMORY is set to any value.
The following elements will be added/changed with this issue:
- adding command: <show_memory_allocation />
- adding command: <memory_diagnostic_system command="switch_on, switch_off, reset"/>
- adding a special, reduced answer (e.g. without jobs): root element: memory_allocation. Detail concept is in progress
- the content of the separate element java_subsystem will be integrated in this answer
- adding operation system memory usage information for unix system types
- adding information in the answer to signal if the memory_diagnostic_system is switched on/off
- if the memory_diagnostic_system is switched of the allocation information must be reset
- documentation