$ polipo -c /dev/null -v | grep ^chunkHighMark
chunkHighMark integer 8388608 High mark for chunk memory.
As you know, the default is to give 8 MB of chunk memory to Polipo.
Any different amount needs to be explicitly configured.
Unfortunately, this default is no longer reasonable. On the one hand
the lowliest laptop you can find nowadays comes with a gig; on the
other hand, people are putting Polipo onto devices with 16 MB memory:
(And before you ask, no, these machines typically don't have any swap.)
So I'm wondering if a better default should be used. I'm toying with
the idea of giving Polipo either 24 MB of memory or 1/4 of the
physical memory in the box, whichever is less. A warning will be
produced if the machine has less than 8 MB of physical memory.
Do you have any better ideas? Does anyone object to changing
a user-visible default in a stable branch?
If you think the above is reasonable, could you please let me know how
to find the amount of physical memory on your favourite platform? (I
already know about Linux -- you parse /proc/meminfo.)
Thanks for your help,