Re: Strings all the way down?
Chris Babcock <[email protected]> Wed, 29 Apr 2009 09:21:26 -0700
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Organization | Kolonel Panic |
| Message-ID | <[email protected]> |
On Tue, 28 Apr 2009 13:31:43 -0700 Chris Babcock <[email protected]> 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... I looked at the possibility that truncating the file was due to a non-CRM memory constraint and devised the following test: http://usak.asciiking.com/tmp/pnm.test?width=125 The results are the same in 20080630-BlameVT or BlameBarack, so it's not a build issue and the file lengths are exactly the same even when I stuff another 96k into memory first. I'm pretty sure this means that I'm getting a premature EOF. Is there a way around this besides writing to disk? It looks like 0.09 seconds on paper, but it could expand out to 2.5 minutes of real time in the production environment. 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) iQEcBAEBAgAGBQJJ+H6HAAoJEASgqNsqZfCHeXwH/1j2J+sf+rFplg9+/sHIb9QH KFG2opiZkOYAJ3zCuu9oyVQu2jWn4eCM+ra+Sc22hA9zr0fD+cbjbqQwP2RLV/aR RLjcdVFog0X2BZmRJBLd1zOJlt64UsrmbI1/yS2bV7iZoP2TBmo3FCLL6VusX4iZ 0M0CogWwPQR7DXlJLGLJ/fWCZUVGqbomFtXYmIZVYfRJ5IM4d+J/1xxaAj6a9DnK QtCELbFg9kEQydrJhob3xrkVLgR5Hun//+4ij7m5qFi4bi39DYYyhkwhe731YFAB 93Bnx4XoFj74u6H85PJbJc5CYp7Rdvxfg8GHCniX6l+3BzFIN9R6KhUpeUrSa/c= =nNxH -----END PGP SIGNATURE-----