|
Page 1 of 1
|
[ 8 posts ] |
|
debug Fatal error: Allowed memory size
Author |
Message |
dgangal
|
Posted: Mon Aug 29, 2022 12:48 am |
|
Regular |
 |
 |
Joined: Thu Aug 25, 2011 9:31 pm Posts: 310 Location: Mumbai, India
|
Subject: debug Fatal error: Allowed memory size
Debug=3 for debugging in
giving me following error
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65488 bytes) in vendor\sintattica\atk\src\Utils\Debugger.php on line 300
I tried increasing php.ini memory_limit to 1GB even 2GB but error continues. NOT able to debug.
Plz help.
[end]
|
|
Top |
|
Re: debug Fatal error: Allowed memory size
wayneh
|
Posted: Wed Aug 31, 2022 2:46 am |
|
Regular |
 |
Joined: Wed Aug 26, 2009 4:49 am Posts: 353 Location: Queenstown, New Zealand
|
I think that that is caused by a problem with your PHP code ? Good to someone else is still developing with ATK 
|
|
Top |
|
Re: debug Fatal error: Allowed memory size
dgangal
|
Posted: Wed Aug 31, 2022 3:57 pm |
|
Regular |
 |
 |
Joined: Thu Aug 25, 2011 9:31 pm Posts: 310 Location: Mumbai, India
|
Thanks Wayneh.
No but this is happening with evn simple node of 2 attributes code, description.
We r porting all our classic atk systems to new sintattica atk and all systems-all-node-even-simple we find this problem. Debg NOT able to use.
|
|
Top |
|
Re: debug Fatal error: Allowed memory size
wayneh
|
Posted: Thu Sep 01, 2022 8:40 am |
|
Regular |
 |
Joined: Wed Aug 26, 2009 4:49 am Posts: 353 Location: Queenstown, New Zealand
|
Aha! Go the same error as you in one of my ATK applications Caused by trying to output one HTML screen with many thousands of transactions, 1 per line
Does that help ?
Help | Search Help | Transactions Add | Export
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16732075 bytes) in C:\xampp56\htdocs\cash_book\atk\ui\class.atkoutput.inc on line 217
|
|
Top |
|
Re: debug Fatal error: Allowed memory size
dgangal
|
Posted: Thu Sep 01, 2022 9:32 am |
|
Regular |
 |
 |
Joined: Thu Aug 25, 2011 9:31 pm Posts: 310 Location: Mumbai, India
|
Yes similar error.
But my point is - i do NOT have any such complicated node.
It is happening with v simple node too (just plain code/description) When i set debug=3
The same app/node debug was working ok in earlier cclassic atk.
It is happening in sintattica atk.
I tried php.ini => memory_limit 1GB, 2GB even -1-ie-Unlimited. But fatal memory error is happening.
|
|
Top |
|
Re: debug Fatal error: Allowed memory size
wayneh
|
Posted: Thu Sep 01, 2022 10:34 am |
|
Regular |
 |
Joined: Wed Aug 26, 2009 4:49 am Posts: 353 Location: Queenstown, New Zealand
|
What version of ATK are you upgrading to ? W
|
|
Top |
|
Re: debug Fatal error: Allowed memory size
dgangal
|
Posted: Sun Sep 04, 2022 8:30 am |
|
Regular |
 |
 |
Joined: Thu Aug 25, 2011 9:31 pm Posts: 310 Location: Mumbai, India
|
Sintattica\Atk\Core\atk.php
has following entry
class Atk { const VERSION = 'v9.0.6-dev';
|
|
Top |
|
Re: debug Fatal error: Allowed memory size
dgangal
|
Posted: Mon Dec 19, 2022 9:18 am |
|
Regular |
 |
 |
Joined: Thu Aug 25, 2011 9:31 pm Posts: 310 Location: Mumbai, India
|
seems like fixed
- Fixed debug=3 memory exhausted - problems in sessionmanager.php (also refer Tools.php atkdebug() and WriteLog())
Commented following stmts in sessionmanager.php as these seems to be repeaing in debug and clogging memory. Anyway these debug are NOT important for me atleast.
//Wed.14.Dec.2022 VA8 dbg commented as following just keeps repeating in mydebuglog.txt //Tools::atkdebug("creating sessionManager (namespace: $namespace)"); //Wed.14.Dec.2022 VA8 dbg commented as following just keeps repeating in mydebuglog.txt //Tools::atkdebug('Created a new SessionManager instance');
Then i did following settings in config\parameters.dev.php
'debug' => -3, 'debuglog' => 'mydebuglog.txt', //created in <Web> folder - else gv relative path from <Web>
Now i do NOT get err and debug info is logged in mydebuglog.txt
[End]
|
|
Top |
|
|
Page 1 of 1
|
[ 8 posts ] |
|