Posted June 29th, 2009 by nicky
I'm developing cakePHP apps in VS.PHP and noticed some strange things, when i try to call objects in objects or multidimentional arrays likt these:
<?php
$this->Post->Comment->find();
//or
$this->find('all', array('conditions' => array('Document.job_id' => $jobId, 'Document.status' => array( 2, 4, 6 ))));
?>In any of these cases it happens that the memory usage of VS jumps with 20 MB until about 2 gig and then it crashes...
Also adding or deleting files to a solution gives failiure errors but the files are added/removed. In some unique cases the project file gets corrupt.
Cake has a blog function debug() but this doesn't seem to get picked up by intellisence, everytime i type debug( , the intellisence changes it to debug_backtrace(
btw I'm using 2.7 on VS2008 team system dev edition. All metioned projects are source controlled in TFS.
juanc says:
Do you have a sample project I can take a look at?
Juan
MShanahan says:
I have the same issue with 2.7 using VS 2008 Team System. Visual studio will operate VERY slowly, the memory climbs to over 3 gigs and then the program crashes. I'll try and put together a small sample project that I can get it to occur with.