Re: PyYaml

Andrey Somov <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Hi Dario,
the result of yaml.load() is a complete constructed instance.
You may need to have a look at the low-level Parser and Emitter
interfaces, which are similar to the SAX API.
http://pyyaml.org/wiki/PyYAMLDocumentation#Events

Andrey

>
> Hi everyone,
>        I'm using PyYaml to parse a really big Yaml file, around 27,6 Mb, but,
> when I run the program, it freezes after some minutes because it fills
> all the ram (1 Gb). Now, I' would like to know if it's a normal
> behaviour and if there is a way to reduce the memory usage.
> Thank You,
> Dario Vianello
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.