I'm trying to Create a new class of CIsusing the XML Data Model Reference and the Toolkit. I've been testing my datamodel.my-module.xml and testing every change with the Toolkit. I haven't had any problems wqith this until now. Now I get the following PHP error:
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 130968 bytes) in C:\Apache24\htdocs\iTop-2.1.0-beta\core\metamodel.class.php on line 838
I've already tried to increase the memory_limit in php.ini; I have it now at 1024M. I have other configuration values as follows:
post_max_size = 512M
upload_max_filesize = 256M
max_file_uploads = 20
I'm still gettin the same error, thus I can't test my module with the Toolkit.
What can I do? Can somebody help me please?
THANKS
Environment > Windows 9, Apache 2.4.9, PHP 5.5.14, MySQL 5.6.19, installed manually (No WAMP, XAMP or similar)This is my development environment.
Thanks for the help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to Create a new class of CIsusing the XML Data Model Reference and the Toolkit. I've been testing my datamodel.my-module.xml and testing every change with the Toolkit. I haven't had any problems wqith this until now. Now I get the following PHP error:
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 130968 bytes) in C:\Apache24\htdocs\iTop-2.1.0-beta\core\metamodel.class.php on line 838
I've already tried to increase the memory_limit in php.ini; I have it now at 1024M. I have other configuration values as follows:
post_max_size = 512M
upload_max_filesize = 256M
max_file_uploads = 20
I'm still gettin the same error, thus I can't test my module with the Toolkit.
What can I do? Can somebody help me please?
THANKS
Environment > Windows 9, Apache 2.4.9, PHP 5.5.14, MySQL 5.6.19, installed manually (No WAMP, XAMP or similar)This is my development environment.
Thanks for the help
Following the PHP and MySQL settings guidelines I changed my configuration to the following:
upload_max_filesize = 128M
post_max_size = 256M
max_allowed_packet=512M
memory_limit = 1024M
But my real problem was in a field node in the XML I'm working. I had the node the following way:
The "extkey_attcode" was pointing to this same field, creating a loop maybe? So I changed the node to this:
The error the Toolkit was showing to me, wasn't very clear at all. Thanks anyway