That I would try and get back to you...
But I am happy to say that I found out how to get out of this problem; at least partially...
The problem seems to be in selecting the second option of E-Mailing Reviewer the submission during Notifier function - which is in setup-policies. The Notifier function goes through normally when standard review is selected...which I accidentally found out just today...
So, as you have suggested, the TemporaryFileManager.inc.php seems to be called only when E-Mail attachment option is selected and then the memory error props up...
I have (supposedly

) narrowed down the problem code in the E-Mail attachment option selection, to be the lines 277-287 in SectionEditorAction.inc.php :
" if ($isEmailBasedReview) {
// An email-based review process was selected. Attach
// the current review version.
import('classes.file.TemporaryFileManager');
$temporaryFileManager = new TemporaryFileManager();
$reviewVersion =& $sectionEditorSubmission->getReviewFile();
if ($reviewVersion) {
$temporaryFile = $temporaryFileManager->articleToTemporaryFile($reviewVersion, $user->getId());
$email->addPersistAttachment($temporaryFile);
}
}"
When I remove this code; the NotifyReviewer function continues on normally; albeit a missing review file attachment....
This does so seems to be a temporary file creation or manipulation problem; as far as I could understand...
I have seen the following erros when "Display an error message when something goes wrong." is turned On in config.nic.php - In E-Mail Attachment Reviewer Notifier Mode:
NOTICE: Undefined property: TemporaryFileManager::$filesDir (D:\xampp\htdocs\241\classes\file\TemporaryFileManager.inc.php:38)
NOTICE: Undefined property: TemporaryFileManager::$filesDir (D:\xampp\htdocs\241\classes\file\TemporaryFileManager.inc.php:40)
While database is loaded in XAMPP and trying "notifyReviewer" function;
and the following errors when "deprecation_warnings = On" alongwith "display_errors = On" :
ojs2 has produced an error Message: USER NOTICE: Deprecated function. In file: D:\xampp\htdocs\241\lib\pkp\classes\user\PKPUserDAO.inc.php At line: 59 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(1024, "Deprecated function.", "D:\xampp\htdocs\241\lib\pkp\classes\user\PKPUserDAO.inc.php", 59, Array(2)) File: D:\xampp\htdocs\241\lib\pkp\classes\user\PKPUserDAO.inc.php line 59 Function: trigger_error("Deprecated function.") File: D:\xampp\htdocs\241\classes\submission\sectionEditor\SectionEditorAction.inc.php line 217 Function: PKPUserDAO->getUser("2760") File: D:\xampp\htdocs\241\pages\sectionEditor\SubmissionEditHandler.inc.php line 679 Function: SectionEditorAction->notifyReviewer(Object(SectionEditorSubmission), 370, False, Object(Request)) File: (unknown) line (unknown) Function: SubmissionEditHandler->notifyReviewer(Array(0), Object(Request)) File: D:\xampp\htdocs\241\lib\pkp\classes\core\PKPRouter.inc.php line 370 Function: call_user_func(Array(2), Array(0), Object(Request)) File: D:\xampp\htdocs\241\lib\pkp\classes\core\PKPPageRouter.inc.php line 266 Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False) File: D:\xampp\htdocs\241\lib\pkp\classes\core\Dispatcher.inc.php line 133 Function: PKPPageRouter->route(Object(Request)) File: D:\xampp\htdocs\241\lib\pkp\classes\core\PKPApplication.inc.php line 189 Function: Dispatcher->dispatch(Object(Request)) File: D:\xampp\htdocs\241\index.php line 63 Function: PKPApplication->execute() Server info: OS: WINNT PHP Version: 5.3.1 Apache Version: Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 DB Driver: mysql DB server version: 5.1.41
ojs2 has produced an error Message: USER NOTICE: Deprecated function. In file: D:\xampp\htdocs\241\lib\pkp\classes\user\PKPUserDAO.inc.php At line: 59 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(1024, "Deprecated function.", "D:\xampp\htdocs\241\lib\pkp\classes\user\PKPUserDAO.inc.php", 59, Array(2)) File: D:\xampp\htdocs\241\lib\pkp\classes\user\PKPUserDAO.inc.php line 59 Function: trigger_error("Deprecated function.") File: D:\xampp\htdocs\241\classes\security\Validation.inc.php line 255 Function: PKPUserDAO->getUser("2760") File: D:\xampp\htdocs\241\classes\submission\sectionEditor\SectionEditorAction.inc.php line 274 Function: Validation->generatePasswordResetHash("2760") File: D:\xampp\htdocs\241\pages\sectionEditor\SubmissionEditHandler.inc.php line 679 Function: SectionEditorAction->notifyReviewer(Object(SectionEditorSubmission), 370, False, Object(Request)) File: (unknown) line (unknown) Function: SubmissionEditHandler->notifyReviewer(Array(0), Object(Request)) File: D:\xampp\htdocs\241\lib\pkp\classes\core\PKPRouter.inc.php line 370 Function: call_user_func(Array(2), Array(0), Object(Request)) File: D:\xampp\htdocs\241\lib\pkp\classes\core\PKPPageRouter.inc.php line 266 Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False) File: D:\xampp\htdocs\241\lib\pkp\classes\core\Dispatcher.inc.php line 133 Function: PKPPageRouter->route(Object(Request)) File: D:\xampp\htdocs\241\lib\pkp\classes\core\PKPApplication.inc.php line 189 Function: Dispatcher->dispatch(Object(Request)) File: D:\xampp\htdocs\241\index.php line 63 Function: PKPApplication->execute() Server info: OS: WINNT PHP Version: 5.3.1 Apache Version: Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 DB Driver: mysql DB server version: 5.1.41
NOTICE: Undefined property: TemporaryFileManager::$filesDir (D:\xampp\htdocs\241\classes\file\TemporaryFileManager.inc.php:38)
NOTICE: Undefined property: TemporaryFileManager::$filesDir (D:\xampp\htdocs\241\classes\file\TemporaryFileManager.inc.php:40)
Introducing fatalError('function'); with "stack trace on" into Notify function below line 285 for $email produced on screen error:
"Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24 bytes) in D:\xampp\htdocs\241\lib\pkp\classes\file\FileManager.inc.php on line 336"