msDrawLegend(): Memory allocation error

Stephen Lime steve.lime at dnr.state.mn.us
Wed Feb 21 07:15:01 PST 2001


That's an obscure error, really should never happen as the heights array is only
a few bytes in size. What version, platform, etc? How many layers are you using?

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Düster Horst <Horst.Duester at bd.so.ch> 02/21/01 04:17AM >>>
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