I applied a SLD style to color a road network in Geoserver (see the picture, before the styling, all lines are in the same color). Before the styling, I can query the WMS layer with arbitrary width and height values. But after the styling, I cannot get the right picture if I increase width to certain number.

For example, consider the following query to WMS


Before applying the color style, I can set the width value to any number;

After applying the color style, I can only set width no larger than 410. I do not understand why the styling matters.

Any ideas?

enter image description here

  • check the log - you may be running out of memory if it is a complex style
    – Ian Turton
    Jun 27, 2013 at 5:59

1 Answer 1


I know that it's stupid to answer my own question. But in case anyone runs into the same problem in future.

The above problem occurs because the memory needed for a rendering exceeds the memory limit for a WMS layer, which can be configured via the web interface. Please see enter link description here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.