Loading CZML dataSource: Error - Allocation size overflow

Hi everyone,

I am trying to load a large CZML file with around ~1000 point entities and each entity has thousands of positions ‘cartographicDegrees : [thousands of positions]’.

Now during the loading my browser’s page is keep crashing:

In Chrome, it says “Aw, Snap! Something went wrong while displaying this page”.

In FireFox, it shows the following error in console:

allocation size overflow

loadWithXhr.load/xhr.onload()

loadWithXhr.js:155

loadWithXhr.js:155:1

Error: WebGL: readPixels: Out-of-bounds reads with readPixels are deprecated, and may be slow. Context.js:1016:9

Error: Script terminated by timeout at:

PickFramebuffer.prototype.end@http://localhost:3000/cesium/Source/Renderer/PickFramebuffer.js:109:25

Scene.prototype.pick@http://localhost:3000/cesium/Source/Scene/Scene.js:2229:22

Scene.prototype.drillPick@http://localhost:3000/cesium/Source/Scene/Scene.js:2373:28

showLabels@http://localhost:3000/hidden/main.js:468:23

startup/<@http://localhost:3000/hidden/main.js:536:3

handleMouseMove@http://localhost:3000/cesium/Source/Core/ScreenSpaceEventHandler.js:241:13

listener@http://localhost:3000/cesium/Source/Core/ScreenSpaceEventHandler.js:66:13

PickFramebuffer.js:109:25

``

Following is the content of my CZML file:

[

{

“id” : “document”,

“name” : “My DataSource”,

“version” : “1.0”,

“clock” : {

“interval” : “2010-01-01T00:00:00Z/2012-01-01T00:00:00Z”,

“currentTime” : “2010-01-01T00:00:00Z”,

“multiplier” : 10,

“range” : “LOOP_STOP”,

“step” : “SYSTEM_CLOCK_MULTIPLIER”

}

}

I was just reading the documentation again and I found a section (https://github.com/AnalyticalGraphicsInc/cesium/wiki/CZML-Structure#eventsource-and-streaming)
May be it helps fixing the issue. I am going to give it a try.

If anyone thinks of some other reason, please reply.