Allowed memory size exhausted

ibot - March 26, 2008 - 17:43
Project:Views
Version:6.x-2.0-alpha2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active (needs more info)
Description

Hi,
first thanks for all your work on this module!

I currently installed views-module 6.x-2.0-alpha3 and tried to set up a new view.
After submitting the form (/admin/build/views/add) there was an error about exhausting php's allowed Memory..
I tried to increase it a little (up to 512MB) but that was no solution.
Also i tried to select another 'view type' but this error happened with all types.

Hope you got an idea about this..
thanx ib0t

---

My Installation contains the following modules:

Drupal core
Drupal 6.1
Includes: Block, Blog, Color, Comment, Contact, Content translation, Database logging, Filter, Garland, Help, Locale, Menu, Node, Path, System, Taxonomy, Update status, Upload, User

Modules
Devel 6.x-1.7
DHTML Menu 6.x-1.02
Image 6.x-1.x-dev (2008-Mar-03)
Pathauto 6.x-1.x-dev (2008-Mar-07)
Token 6.x-1.10
Views 6.x-2.0-alpha3

#1

merlinofchaos - March 27, 2008 - 17:58

Can you try disabling all non-core modules and trying this? I've never run into a problem with Views using tons of memory, and I'm wondering if there's some interaction with one of those modules you list that I'm not seeing.

(You can leave Devel and DHTML Menu on; I use those, so those are likely not interfering. But it's worth checking Image, Pathauto and Token).

#2

KarenS - March 28, 2008 - 10:32

You should also update to the latest development version of Views and see if you still have a problem there.

#3

merlinofchaos - March 31, 2008 - 19:19
Status:active» active (needs more info)

Setting to needs more info while awaiting feedback.

#4

ibot - April 2, 2008 - 11:27
Status:active (needs more info)» closed

thanks for your answers!
But i'm sorry, currently i can not reproduce this error anymore :-/
Installed modules are the same...

#5

ibot - April 2, 2008 - 11:45
Status:closed» active

Uuups, sorry
- i was looking in the wrong drupal-installation...

Now i disabled these modules:
- image
- pathauto
- token
but no change...

#6

ibot - April 2, 2008 - 11:53

Also updating to views-6.x-2.0-alpha4.tar.gz was no solution.

#7

ansorg - April 4, 2008 - 19:22

hm, 512MB not enough? Wow :(

I just set up a new drupal-6.1 to try new things. Server limit is 15MB, Views is alpha4

on the empty homepage I get

Before "Views":     7.15MB
After   "Views":     9.15MB
After   "Views UI"  9.62MB

on the module page: 8.5MB => 10.5MB => 11MB

But I have another drupal 6.1 page where, after uploading "views" and enabling the module, the module list first complained about exceeded memory limit and from there on would show only a blank page. I had to delete the module folder from filesystem to get my module list back :(

On a drupal-5.7 site with CCK and Views and lots of other stuff I never exceeded the 15MB limit.

Jens

#8

drewish - April 6, 2008 - 23:33

15 MB isn't much, most stock php.ini files i've seen start at 32M...

#9

www.richardspro... - April 8, 2008 - 15:07

I had this problem when the Developer module was enabled. It was caused by an endless loop somewhere and it didn't matter what I increased the memory too. I've not had this problem when the Developer module wasn't enabled.

#10

merlinofchaos - April 24, 2008 - 19:34
Status:active» active (needs more info)

Does this still happen?

#11

ansorg - April 26, 2008 - 14:54

Using Drupal-6.2, views-6.x-2.0-beta1, cck-6.x-1.0-alpha (and a bunch of others)

Without Views and Views-UI: about 13 MB
with booth enabled: about 17 MB

Compared to drupal-5.x versions where views+UI increases memory usage by about 1.5 MB it seems a lot. Is there so much new functionality?

Fortunately I could increase the memory limit so it's not an issue for me right now.

#12

merlinofchaos - April 26, 2008 - 14:58

I dunno. I'm testing with Views 2 and CCK and my memory limit is set at 16m; I never get close to it. Though I am using an opcode cache, which reduces the memory limit. Code still takes up memory.

 
 

Drupal is a registered trademark of Dries Buytaert.