View Issue Details

IDProjectCategoryView StatusLast Update
0004545mantisbtadministrationpublic2006-02-04 05:47
ReporterPleite Assigned Tojlatour  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionduplicate 
Product Version0.19.0 
Summary0004545: too much memory usage?
Description

hello, i am testing the new version of mantis and have some probs with the usage of the memory. the default value of 8mb is not enough. i set this value to 64mb but that is not enough too?

my error log says:

"Allowed memory size of 67108864 bytes exhausted (tried to allocate 10 bytes)"

there is much more ram i can use, but i think it's a problem? the version 0.18.3 worked with 8MB...so i can't imagine to use much more then 64mb...

can u give me a reason????

thx

TagsNo tags attached.

Relationships

duplicate of 0004798 closedatrol Out of memory crash when running summary_page.php 
related to 0006591 closedgrangeway ADODB / Memory Issue / etc? 

Activities

Pleite

Pleite

2004-09-14 10:16

reporter   ~0007573

oops, wrong category :)

Pleite

Pleite

2004-09-14 10:24

reporter   ~0007574

the 'high usage' script is

summary_page.php

some refresh of this page causes more than 128mb

thraxisp

thraxisp

2004-09-14 11:07

reporter   ~0007575

The summary_page, especially for all projects, does try to enumerate all of the bugs in the system.

grangeway

grangeway

2004-09-14 17:39

reporter   ~0007580

wonders what exactly summary page does

pleite: how many bugs/projects/useres do you have in your system to hit this?

Pleite

Pleite

2004-09-15 02:30

reporter   ~0007586

Last edited: 2004-09-15 02:32

"how many bugs/projects/useres do you have in your system to hit this?"

i used a new installation, so only 1 bug, 1 project, 1 user...

there has to be any big difference between mantis 0.18.3 and 0.19 but i don't know what. the summary_page.php is not the only script and i tested not everything.

maybe there is a misconfiguration of my apache oder php? i can't imagine, but i'm not sure.

i added another line to the function html_end() in html_api.php:

echo "Memory Usage: ".memory_get_usage();

that was good to see...i tested some scripts...the memory usage of the scripts r about 5mb and that's ok. anyway...sometimes i get the message "server not found" on the same scripts. then my apache error_log says:
"Allowed memory size of 536870912 bytes exhausted (tried to allocate 10 bytes)"

i'm using apache 1.3.31, mysql 4.0.20 and php5.0.1... (mantis 0.18.3, a bulleting board software and some of my php project r running on the same server without problems)

any hint? :)

bearbeitet am: 09-15-04 02:32

Pleite

Pleite

2004-11-02 09:59

reporter   ~0008224

the problem still exists here. am i the only one who has this problem? maybe it's caused by php5.0? however, 0.18 works great....

DGtlRift

DGtlRift

2004-11-02 10:33

reporter   ~0008226

Hrrm... I wonder if the ADODB library is causing the slow down.. that was the big change between 0.18 and 0.19... I don't think the actual processing of calls is the slowdown, but php loading and parsing all the files associated with ADODB. I'm not sure how we could verify this.. perhaps adding tick checks just before and after the includes of these items? Any other ideas?