Virgo Logbook
UTC--:--:--
GPS-
Reports
Electronics and Software›Basic software #7772

(untitled)


Vx problem on RIo32Mbytes DRAM
  The server fails loading the Vx driver because the system call 
  failed while forking due to a miss of memory available

  Looking on the memory size it appears that for the TiServer, now 
  10Mbytes are used just after the Cm,Db, El and Su initilaisation
  than on the previous release only 2Mbytes was needed.

  Looking for the reason of this increase I found on Db
  (DbLex.x and DlTypeLex.c) a stack statically allocated with
  a size of MAXDETPH*YYLMAX (i.e 150*20000) this means 3MBytes per
  stack
  Reducing the YYLMAX to the same value as the previous Db version
  (YYLMAX 2000) allows to Vx servers to have enough memory to 
  dynamically load the Vx drivers.