MantisBT - TestLink
View Issue Details
0001934TestLinkTest Plan (builds, milestones, test assign)public2008-12-17 05:322010-10-09 08:01
kcurran 
fman 
normalmajoralways
closedfixed 
1.8 RC 2 
1.9 RC 1 
IE
0001934: After adding large number of Test Cases ( /view.php?id=755#c1500), get fatal error when trying to assign users or execute
The following error when trying to open tree for assignment or execute

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 196608 bytes) in C:\xampplite\htdocs\testlink_18RC2\testlink\lib\functions\object.class.php on line 55
No tags attached.
has duplicate 0003053closed mhavlat The number of Test Cases that can be added to a Test Plan is VERY Low 
Issue History
2008-12-17 05:32kcurranNew Issue
2008-12-17 05:32kcurranBrowser => IE
2008-12-18 00:44fmanNote Added: 0004862
2008-12-18 00:54kcurranNote Added: 0004864
2009-01-08 01:32fmanNote Added: 0004955
2009-01-08 02:46kcurranNote Added: 0004959
2009-01-16 19:32mhavlatNote Added: 0005033
2009-01-16 19:32mhavlatSeveritycrash => major
2009-01-16 19:32mhavlatStatusnew => acknowledged
2010-01-12 23:40mhavlatRelationship addedhas duplicate 0003053
2010-01-12 23:52JgaudreauNote Added: 0008656
2010-09-08 19:27fmanStatusacknowledged => resolved
2010-09-08 19:27fmanFixed in Version => 1.9 RC 1
2010-09-08 19:27fmanResolutionopen => fixed
2010-09-08 19:27fmanAssigned To => fman
2010-10-09 08:01fmanNote Added: 0011817
2010-10-09 08:01fmanStatusresolved => closed

Notes
(0004862)
fman   
2008-12-18 00:44   
Please:
1. what are a large number of test cases ?
2. what tree manager are you using ?

3. is possible to have your db ?
(0004864)
kcurran   
2008-12-18 00:54   
1: I imported 5000+ test cases, then added 1500-2000 test cases to the test plan which resulted in the error.
I have since reduced the number of test cases ( to approximately 500) from the test plan ( which worked) and was able to see the tree for user assignment or execution.
2: using the default tree

3: No can't share the db
(0004955)
fman   
2009-01-08 01:32   
What tree engine are you using ?
(0004959)
kcurran   
2009-01-08 02:46   
$tlCfg->treemenu_type = 'EXTJS';

Also, I noticed the same problem when I added a test suite with 900 test cases to the plan
(0005033)
mhavlat   
2009-01-16 19:32   
Workaround: You use short memory limit. Please extend max memory in php.ini. The common value is 32M, but 64M in you case is better.

Performance issue; target release 1.9
(0008656)
Jgaudreau   
2010-01-12 23:52   
I will try to check on that with our technical assistance department, I'll send them your suggestion to work around the problem.

Thanks for the help, if it doesn't work, I will let you know to see what is the cause of my problem.

Thank you,
Jonathan
(0011817)
fman   
2010-10-09 08:01   
Release 1.9 RC1