cinohub / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

SerializeRaw and SerializePretty performance #185

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build a Document containing a large set of Placemarks with LineString (i.e. 
1000 placemarks with linestrings 1000 coordinates long)
2. Serialize data to string for writing to file.

What is the expected output?
A string within some amout of time 

What do you see instead?
After building the application as a x64 I see that building the kml data object 
goes fast, but the serializing takes for ever. As a x86 build it used all of 
its memory before it crashed, and as a x64 it ran till my computer was out of 
memory (8GB), so I killed the app.

What version of the product are you using?
1.2 
On what operating system?
Win7x64

Did you run the unit test suite that comes with the project? 
No 

Original issue reported on code.google.com by amund.gj...@gmail.com on 22 Oct 2012 at 7:27