realbasic-nug
[Top] [All Lists]

Re: XMLReader crashes on 1,8 GByte XML

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: XMLReader crashes on 1,8 GByte XML
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Sat, 1 Oct 2005 00:27:33 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050930222958 dot 3D068DDFE09 at lists dot realsoftware dot com>
From: Stefan Pantke <seaside dot ki at mac dot com>
Date: Fri, 30 Sep 2005 23:26:35 +0200

I tried to parse an 1,8 GByte XML file using XMLReader. The app
crashes within
seconds.

Isn't XMLReader designed to read the source file in chunks and
process them
step by step?

Is XMLReader itself crashing, or *your* code?

Doing this in a loop will fail:

for i = 1 to 1000*1000*1000*2 //2billion
MyArray.Append new MyClass()
next

--
http://elfdata.com/plugin/

What does our work achieve, if it's not making the world a happier place?
http://www.whatnextjournal.co.uk/Pages/Next/Happiness.html
When's the last time you thought deeply about how to improve our lives?


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>