Ticket #43 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 14 months ago

Add limit to the amount of memory the plugin can use

Reported by: mail@… Owned by: ofer
Priority: minor Milestone: 0.5 - Beta wordpress plugin
Component: WordPress Plugin Version: 0.2.2
Keywords: Cc:

Description

This is something for all of us on shared hosting. It would be good if we could limit the amount of memory the php processes spawned by the plugin for the caching part would use . This might make the process a bit slower but it would also prevent the task from taking over all the resources, leading to big slowness and possible internal server errors.

I don't know if it's possible but it would be nice to have.

Change History

comment:1 Changed 2 years ago by datapharmer

It might be nice to have an interface for this, but in the meantime memory can be limited on most shared hosts by placing a php.ini file in the affected directory containing the following:

memory_limit = [number]M

example:

memory_limit = 20M

would limit the php memory to 20MB

comment:2 Changed 14 months ago by ofer

  • Status changed from new to closed
  • Resolution set to wontfix

I agree that there is a memory_limit solution available, and also I fear that this is not the stage of development in which I can reliably add such a feature

Note: See TracTickets for help on using tickets.