Re: Strings all the way down?

paolo <[email protected]> Fri, 1 May 2009 01:52:22 +0200
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
On Tue, Apr 28, 2009 at 01:31:43PM -0700, Chris Babcock wrote:
> I have some large binary objects that I'm trying to handle - about 2.6
> MB. These are intermediates in an image processing routine that would
> helpful to keep in memory rather than writing to a file. It seems that
> they are getting truncated to 2.0 MB in memory. Run with the -p option,

hm, if I make a .crm like

# crm '-{window; isolate (:x: :v:) //; input (:x:) [/dev/urandom]
#         eval (:v:) /:#:x:/; output /v=:*:v:\n/}'


I get an error since :x: has grown up at 8M; and if it slurps in a 6MB file
I get v=6M, so seems the only limit in effect is the buffer length 
controlled by -w opt. What do you get on your side?

That's 20081111-BlameBarack


-- 
paolo

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf