View Issue Details

IDProjectCategoryView StatusLast Update
0004797mantisbtotherpublic2004-11-06 05:59
ReporterLeojpf Assigned Tograngeway  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
Product Version0.19.0 
Summary0004797: Out of memory crash when running summary_page.php
Description

On a fresh installation with 2 bugs and 1 user, I'm getting an out of memory error when loading the summary page. The specific error generated is "Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 368640 bytes) in /ip/someuser/wwws/mantis/lang/strings_english.txt on line 587". This appears to be a result of a memory leak which I've managed to reduce to the attached test case.

Additional Information

more test_case.php

<?php
require_once( 'core.php' );

    $t_core_path = config_get( 'core_path' );
    echo "Memory usage: ".memory_get_usage()."\n";

?>

php test_case.php

Content-type: text/html
X-Powered-By: PHP/4.3.2
Pragma: no-cache
Expires: Fri, 01 Jan 1999 00:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0

Memory usage: 7684048

TagsNo tags attached.

Relationships

duplicate of 0004798 closedatrol Out of memory crash when running summary_page.php 

Activities

grangeway

grangeway

2004-10-29 19:11

reporter   ~0008209

duplicate of 497