Ticket #2465 (reopened defect)

Opened 2 months ago

Last modified 2 months ago

Installation and flush freeze

Reported by: damnick Assigned to: aoneil
Type: defect Priority: critical
Milestone: 2.2.3 Component: (Unknown)
Version: 2.2.2-rc2 Severity: medium effort / impact
Keywords: Cc:
Due date: Harvest Task: (Unknown)
Invoice sent to client: 0 Hours:

Description

installation and flush report the following error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4980736 bytes) in /tmp/silverstripe-cache-var-www-silverstripe/cache.php on line 4

Attachments

cache.php (429.7 kB) - added by damnick 2 months ago.

Change History

Changed 2 months ago by damnick

Changed 2 months ago by sharvey

How much PHP memory is allocated?

Changed 2 months ago by sminnee

It looks like 32 megs is no longer sufficient :-(

Changed 2 months ago by sharvey

Generally I've noticed this happening.

Here's a forum post with the same problems:

http://silverstripe.com/site-builders-forum/flat/53812?showPost=62999

Changed 2 months ago by ischommer

  • status changed from new to closed
  • resolution set to invalid

thats not a specific bug in silverstripe - i certain configurations PHP can run out of memory. there are a couple of dozen posts about this on the forum :)

Changed 2 months ago by sharvey

  • status changed from closed to reopened
  • resolution deleted

Well, it is a problem if we say "we support 32M PHP memory" - should we updated the server requirements wiki page? - http://doc.silverstripe.com/doku.php?id=server-requirements&s=php%20memory

Changed 2 months ago by ischommer

Sorry, was too quick to close this ticket - didn't see that this was memory usage of a plain installation.

We can't do anything about the memory requirements in the short term (e.g. rc4 release), but need to document the increased requirements. 40M or 48M seems to be a reasonable amount that many shared hosters will still support, we need to verify this is enough.

* Profile areas on a base installation:

  • run installer script with db/build
  • run admin interface
  • run files & images with a couple of uploaded files (we're aware it fails with large number of files)

* Add note http://doc.silverstripe.com/doku.php?id=server-requirements&s=php%20memory * Modify installer to raise memory limit through ini_set if allowed, fail installation otherwise

Changed 2 months ago by damnick

I close the tickets, because I have read the forum after posting... If I have read that the problem is already know, I don't have posted the bug report.

But... I'm not a good programmer, but I think that 32/48mb of ram only for base installation is not a good thing!!!

I'm testing SS in a local server and I can assign more than 48 mb to silverstripe, but for example my provider give me only 32Mb for php.

Why silverstripe is so memory hungry?

Is a thing that can be resolved?

Changed 2 months ago by sminnee

Yes, it is definitely something that will be resolved for 2.3. However, the memory requirements are going to stand as they are for 2.2.2 because we need to get it released.

Changed 2 months ago by sharvey

  • milestone changed from 2.2.2-rc4 to 2.2.3 feature-lock

Changed 2 months ago by sharvey

Setting this to 2.2.3-feature-lock so we can resolve it then. Leaving priority as-is, as it seems important to investigate this problem.

Note: See TracTickets for help on using tickets.