Re: using pipe



Hello,

I don't want to use a buffer to store the output, as the output size
may be huge (saveral MBs).

So what? several MBs shouldn't be a problem, unless you are writting an
embedded application...

I want to keep this in a pipe (believing pipe takes storage from the
file system).

Nope. A pipe is a buffer in the kernel...

Then I will read the contents one string at a time and do the processing.
Is there a better way of doing it ?

If memory is _REALLY_ a concern, then write into a file.

Cheers,
Loic.

.



Relevant Pages

  • Re: using pipe
    ... several MBs shouldn't be a problem, unless you are writting an ... Is there a better way of doing it ?If memory is _REALLY_ a concern, ... writing to a file would be a good idea. ...
    (comp.unix.programmer)
  • used memory of storage is smaller by ActiveSync?
    ... Valid area for storage: 90,40 MBs ... Used memory for storage: 77 MBs ... I intend to find out the best solution for deploying a lot of PDA, ...
    (microsoft.public.pocketpc.activesync)
  • Re: Used memory is smaller by ActiveSync?
    ... database server directly by Merge, PDA2 database file .SDF is copied ... PDA are also soft-reseted already, so it seems the memory which is ... Valid area for storage: 90,40 MBs ...
    (microsoft.public.sqlserver.ce)
  • Re: used memory of storage is smaller by ActiveSync?
    ... > Valid area for storage: 90,40 MBs ... > Free memory for storage: ... it'd better to synchronize database by 1 PDA ...
    (microsoft.public.pocketpc.activesync)
  • Re: Used memory is smaller by ActiveSync?
    ... PocketPC/Activesync newsgroup to see if they are aware of memory consumption ... issues with copying large files. ... > Valid area for storage: 90,40 MBs ...
    (microsoft.public.sqlserver.ce)