RE: "Out of memory! Out of memory! Callback called exit at ..."

[email protected] ("Ludwig, Michael")
Newsgroups perl.dbi.users
Message-ID <[email protected]>
> -----Original Message-----
> From: Peter J. Holzer [mailto:[email protected]]
> Subject: Re: "Out of memory! Out of memory! Callback called exit at ..."

> On 2010-08-12 10:19:37 -0700, Bob McGowan wrote:
> > In point of fact, which I failed to mention (mia culpa), I've 
> > debugged down to the point where the call is made to 
> > 'selectall_arrayref()'.
> 
> How many rows does this return? (Or rather: How many rows would it 
> return if it didn't run out of memory?) If each row contains a 20 MB 
> blob you don't need many rows to run out of memory.

Indeed, I forgot: You're fetching blobs with LongReadLen set to a high value. Combining that with selectall_* might not be a good idea, after all.

--
Michael Ludwig
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.