[Geoserver-devel] [jira] (GEOS-6549) CSS Module takes a long time to Submit on certain CSS (Weird Issue)

Mark Cupitt created an issue

GeoServer / BugGEOS-6549

CSS Module takes a long time to Submit on certain CSS (Weird Issue)

Issue Type:

BugBug

Affects Versions:

2.5.1

Assignee:

Andrea Aime

Components:

CSS

Created:

20/Jun/14 8:48 PM

Environment:

Ubuntu 8 core, 24 Gb, 8Gb allocated to GeoServer.
JVM: Oracle (latest)
JAVA_OPTS=“-Djava.awt.headless=true -server -Xms8192m -Xmx8192m -XX:MaxPermSize=256m -XX:+UseParallelOldGC -XX:+UseParallelGC -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:NewRatio=2”

Priority:

MajorMajor

Reporter:

Mark Cupitt

The following CSS takes over 25 minutes to process after pasting into the CSS Stylesheet Box, then another 10 minutes to Submit.

If I past the CSS down to the /* ? 3K - 0K --* Comment, it takes a few seconds, but adding that last block cause the issue to appear.

I cannot see anything wrong with the CSS, pasting the blocks of CSS individually all works fine, it is only when the entire file is pasted.

/*

  • @title OSMPH_Lines
  • @abstract Styles for all Roads at High Zoom Levels.
    */

/* ---------------- GLOBAL --------------------------------------------------------------------- */
*

{ mark-mime: ‘image/svg+xml’; }

/* ---------------- 30K - 15K--------------------------------------------------------------------- */

/* @title Traffic Lights 30K - 15K */
[highway=‘traffic_signals’][@scale>15000][@scale<30000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/trafficlight.svg’); mark-size: 4px; }

/* @title Barriers 30K - 15K */
[barrier=‘gate’][@scale>15000][@scale<30000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/barrier_liftgate.svg’); mark-size: 10px; }

/* @title Parking 30K - 15K */
[amenity=‘parking’][@scale>15000][@scale<30000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/parking.svg’); mark-size: 10px; }

/* ---------------- 15K - 30K--------------------------------------------------------------------- */

/* @title Traffic Signals 15K - 6K */
[highway=‘traffic_signals’][@scale>6000][@scale<15000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/trafficlight.svg’); mark-size: 8px; }

/* @title Barriers 15K - 6K */
[barrier=‘gate’][@scale>6000][@scale<15000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/barrier_liftgate.svg’); mark-size: 12px; }

/* @title Parking 15K - 6K */
[amenity=‘parking’][@scale>6000][@scale<15000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/parking.svg’); mark-size: 15px; }

/* ---------------- 6K - 3K--------------------------------------------------------------------- */

/* @title Traffic Signals 6K - 3K */
[highway=‘traffic_signals’][@scale>3000][@scale<6000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/trafficlight.svg’); mark-size: 10px; }

/* @title Barriers 6K - 3K */
[barrier=‘gate’][@scale>3000][@scale<6000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/barrier_liftgate.svg’); mark-size: 15px; }

/* @title Parking 6K - 3K */
[amenity=‘parking’][@scale>3000][@scale<6000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/parking.svg’); mark-size: 20px; }

/* ---------------- 3K - 0K--------------------------------------------------------------------- */

/* @title Traffic Signals 3K - 0K */
[highway=‘traffic_signals’][@scale<3000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/trafficlight.svg’); mark-size: 11px; }

/* @title Barriers 3K - 0K */
[barrier=‘gate’][@scale<3000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/barrier_liftgate.svg’); mark-size: 20px; }

/* @title Parking 3K - 0K */
[amenity=‘parking’][@scale<3000]

{ mark: url(‘http://icons.markware.net/geoserver/icons/traffic/parking.svg’); mark-size: 25px; }

/* ---------------- END --------------------------------------------------------------------- */

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo