msDrawLegend(): Memory allocation error

Düster Horst Horst.Duester at bd.so.ch
Wed Feb 21 05:17:15 EST 2001


Hi 
 
I try to draw a legend but MapServer bails out with the error message: 
 
msDrawLegend(): Memory allocation error. Error allocating heights array. 
 
The LEGEND key looks like:
 
#
# Start of legend
#
LEGEND
  KEYSIZE 18 12
   LABEL
    TYPE BITMAP
    SIZE SMALL
    COLOR 0 0 89
  END
  STATUS ON
END
 
Can anybody help me to solve this problem.
 
 
Horst
 



More information about the mapserver-users mailing list