Topic
1 reply Latest Post - ‏2013-05-10T13:26:24Z by Adamarla
GregM_dxler
GregM_dxler
162 Posts
ACCEPTED ANSWER

Pinned topic Checking Memory in DXL Scripts

‏2013-05-10T13:04:29Z |

Hello,

Our modules are quite large and have many in and out links to other large modules.  I'm increasing running into memory exhaustion issues when I do tracing analysis.  Some of them, I have to do parts of the analysis at at time (only outlink checks, then only inlink checks, etc.) to keep from running out of memory before the analysis is complete.  There has been many mitigation strategies used to compensate, such as using more link modules and running analysis on only certain link modules at a time.  Strategies are not the question for this topic though.

The question is, is there a way I can check memory in dxl script in order to stop the analysis before I run out?  For example, an analysis script will check 10 different things, if I am near the memory limit (of about 1.8 gbytes) after the 6th one, it will stop and inform the user.  This is a much more elegant way to handle this instead of just running out of memory and crashing.  DOORS does not work well with memory exhaustion issues.  I've seen some dxl script that provide how big of size the project is, but I don't have access to this  (I'm only a user, not an administrator).

Any ideas or suggestions?

Thanks,

Greg

  • Adamarla
    Adamarla
    75 Posts
    ACCEPTED ANSWER

    Re: Checking Memory in DXL Scripts

    ‏2013-05-10T13:26:24Z  in response to GregM_dxler

    You can't get the memory usage directly from DXL, but you could run an external app which can get it, and parse the output of it back to dxl.

    Updated on 2013-05-10T13:26:42Z at 2013-05-10T13:26:42Z by Adamarla