[Privoxy-users] Out of memory on file bigger than 4MB
Fabian Keil
fk at fabiankeil.de
Tue Sep 27 13:19:36 UTC 2016
_elgato <el.gato.negro.v at gmail.com> wrote:
> so I just loaded a file of 4MB into privoxy 3.0.23 on my router
> (OpenWRT), /var/log shows the following line:
>
> 2016-09-23 22:22:14.743 77cec000 Info: Loading actions file:
> /etc/privoxy/ab2p.action.redux
> 2016-09-23 22:22:20.350 77cec000 Fatal error: Out of memory loading
> a config file
>
> What is the maximum filesize permitted for a file in privoxy?
It depends on the platform and on how much memory is available.
To load a 4 MB file, Privoxy has to reserve 4 MB of memory
(plus some overhead) and apparently your system doesn't have
enough free memory to allow this.
It's possible that you can work around the issue by adding
swap space but if it works, performance may not be great.
Once the file is loaded, Privoxy will give up some memory
again, so splitting the file into smaller files may reduce
the maximum amount of memory required as well.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20160927/3eb58813/attachment.bin>
More information about the Privoxy-users
mailing list