Having the same issue (*Not using Themes*)
I am having the same issue as mentioned in this thread. You corrected his solution but never posted the workaround for the rest of us.
I applied static plugins in my DW PHP Template and when viewing a page using the applied template, I get the following error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40961 bytes) in C:\xampp\htdocs\th_new\webassist\framework\framework.php on line 32
Some help would be appreciated.