AnsweredAssumed Answered

VFR memory_problem solution

Question asked by VRFuser on Mar 7, 1996
I sent the first message regarding this problem to the wrong HP address.

I send it to the reflector now, with the solution, because the solution was a
large driver to system performance that I did not know about.  Hope it helps
others.

Greg:

I increased "maxdsiz" from 64 MB to 256 MB using sam and rebuilt the kernel.
I've tested its effectiveness on a setup that would consistently produce the
error and it seems to have solved the problem.

Thanks for your help.

Andy

______________________________ Forward Header __________________________________
Subject: memory_problem
Author:  Greg Goebel <gvg@hpislsup.lvld.hp.com> at AOT-GATEWAY
Date:    3/5/96 5:20 PM


send q memory_problem asughrue@ccmail.aot.com
    
from: Greg Goebel / HP-MXD
      gvg@lvld.hp.com / 970-679-2305 / FAX 970-679-5971
to:   Andy Sughrue
date: Tuesday, 05 March 1996 1509 MST
    
>      I am programming in veetest a large operator interface to a test
>      system.  It allows the operator to run selftest, configure
>      instruments, collect and archive data, maintain a calibration
>      database, and run analysis functions on the collected data.
>     
>      I am encountering (intermittently) error 910, an out of memory error,
>      when the XY Trace attempts to display two traces, each consisting of a
>      ~ 98,000 element mapped array.
>     
>      At the point of the failure, veetest has loaded the interface itself
>      (5.4 Mbytes), and three imported libraries ( 1 Mbyte, 1.1 Mbytes, and
>      .5 Mbytes in size).  Also it has read in the data file (1.3 Mbytes)
>      and set a global equal to the entire data array which the plotting and
>      analysis routines access.
>     
>      My system consists of an HP745 UNIX workstation with 80 Mbytes RAM,
>      200 Mbytes of device swap space and 50 Mbytes of file system swap
>      space.  When the error occurs, device swap space use is at ~12% and
>      file system swap space use is at 0%.
>     
>      Software versions are HP-UX 9.05 and Veetest B.00.01 (3.?).
>     
>      Currently my work around is to allow the operator to view only a
>      portion of the traces at a time.  However, I would like to find a
>      solution which allows the entire array to be viewed.  Does anyone have
>      any ideas or am I hitting a hard memory limit?
>     
>      Thanks in advance.
>       
>> asughrue@ccmail.aot.com.
>>     
>> Andy Sughrue
>> Systems Engineer
>>     
>> AOT-Maryland
>> 4001 Indian Head Hwy. P.O.Box 929
>> Indian Head, MD 20640
    
Sir:
    
I chatted with my lab counterparts about this problem and they believe that
this could either be a swapfile problem (which doesn't seem likely because
it seems you have plenty) or that you are running out of process space.
    
They recommend that you find the "maxsdsiz" parameter in SAM and increase it
substantially.
    
Please let us know what happens.
    
[<>] regards -- gvg


Outcomes