[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1537.0. "Buffer Sizes" by SPI0::CKALER () Thu Oct 05 1989 09:35

  I am using XDrawSegments and am trying to optimize my output by lumping
  as many lines into a single X call as possible.  My problem: I define an
  array  XSegment vectors[MAX_SIZE].  Now, I was using a MAX_SIZE of 5000.
  This caused an error from X at run time.  I eventually lowered it to 2000
  and it works fine.  After digging in the X sources, I have found that they
  have a buffer size of 8192.   Somehow these seem to be releated, I'm sure.

  Does anyone know how to increase the buffer sizes?  Ideally I would like
  to be able to define MAX_SIZE to be like 10000 !

	Christopher

  Feel free to send me mail off-line SPI0::CKALER

T.RTitleUserPersonal
Name
DateLines
1537.1Fixed in V2STAR::BMATTHEWSThu Oct 05 1989 13:566
Should work ok with large buffer sizes in DECWindows V2.
There was an XLIB bug in V1 that caused the problem you were seeing.
Also the default buffer size is now 16384 instead of 8192.
							Bill


1537.2Change of size possible?NWGEDU::DINGEMANSHans Dingemans, E.S. HollandWed Nov 29 1989 10:237
Re.2:
>  Also the default buffer size is now 16384 instead of 8192.


Any chance of CHANGING the size?  (in V1 or V2)

Hans.