Strings all the way down?

Chris Babcock <[email protected]> Tue, 28 Apr 2009 13:31:43 -0700
Newsgroups gmane.mail.spam.crm114
Organization Kolonel Panic
Message-ID <[email protected]>
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,
I get: 

  Memory usage at completion:          0 window,    2420186 isolated

I thought I had 8 MB to play with and that variables were binary safe.
Is one or more of my assumptions wrong? My guess is that the file is
being trucated on input.

I have tested the commands in shell scripts where they work fine in
pipelines or storing the intermediates as files.

Chris

------------------------------------------------------------------------------
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

_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general
signature.asc (application/pgp-signature, 489 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBAgAGBQJJ92ewAAoJEASgqNsqZfCHCyMIAK3uv9k6x/U7Usvba6LKE3hr
nsEWMc9BYbdYnEZmv992kr0qwXXgx3sNLQzNur8uGAf0nHPyADW+mbSm15OGY2lG
NKBdRaq0D6tX27P2e6bAQ35h9QL9HrfuAV3nOfR+RVSVswaOYNa53yCkGeo4YyZs
60AP3VzpGeOk/Aj/GmODPSf3fdcejRulV/ZX/vOzOUywLqa6oWQlP3fpRKcB03vF
MXcl7ygbnbcNlLe6u01VPwilbAh9HhKhy1nx+PsUt2kXyferKRXYPcIxj3ykYbY8
vmyPCq3By7BoMOJ7/+Up8+9sQIPn72L68HBW11bXp9+ARzE0pqNJrXNixb0VR8I=
=9j8Y
-----END PGP SIGNATURE-----