Specific memory_limit for preloading
Description
Hello,
What do you think about adding a specific opcache.preload_memory_limit option that could be used only for generating preloading as this task can be more memory consuming than common requests.
In some case when you need to preload lots of files (coming from Framework, vendors and application), the memory can exceed 128M while it's enough for other requests.
See related https://github.com/symfony/symfony/issues/45950
Don' t think this is needed. Just change the memory limit on runtime when needed. Otherwise we would need to create specific memory limit ini settings for all kinds of things like uploads etc.
Ok it’s what I also propose in the linked ticket on Symfony side. Note sure that it’s the best to rely on ini setting on runtime as any people prefer to disable it for security reason, but indeed I see your points.