Trying to use the Simple HTML Dom Parser in my application.
Placed the sample function of scraping_slashdot() into a controller.
include_once('includes/simple_html_dom.php');
$ret = $this->scraping_slashdot();
print_r($ret);
Get:
ErrorException [ Fatal Error ]: Allowed memory size of 134217728 bytes exhausted (tried to allocate 291337 bytes)
The thing is that when I do the exact same thing in a stand-alone file (not as a part of a Ko app), everything seems to work just fine.
Does anyone have any idea what it could be?
PS
Using Ko 3.2, haven't tried other versions, though I've used this class in 3.0 before just fine.