ctags-exuberant -f php.tags --languages=PHP -R
Tips and tutorials on Wi-Fi(802.11), Windows, Linux, PHP, MySQL, Codeigniter, Android
Search This Blog
-
Add the below line to the ~/.tmux.conf setw -g mouse on save the file and exit from the tmux shell, you should be able to use your mouse to ...
-
For converting Error Vector Magnitude (EVM) from db to %(percentage), we can use the below formula EVM in % = 100 * (10^(EVM in dB/20)) ...
-
For excluding files and directories while using diff, we can pass the exclude pattern in the command line. Say for you u want to exclud...
Showing posts with label php. Show all posts
Showing posts with label php. Show all posts
16 August, 2016
01 August, 2012
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 89 bytes)
In my php script, i was not able to get page view, the page was having lot of variables. and some was taking lot since it was in foreach loop updating a big table output.
debugging foudn that, it was due to memory was not sufficient for the php to allocate.
In the php.ini we cam increase the memory with the memory_limit = 128M configuration. After increasing the size form 128M to 256M, mine was working fine.
But i think i should re design the webpage as php consuming this much memory is not good in long term. There will be better way to reduce it .
In my php script, i was not able to get page view, the page was having lot of variables. and some was taking lot since it was in foreach loop updating a big table output.
debugging foudn that, it was due to memory was not sufficient for the php to allocate.
In the php.ini we cam increase the memory with the memory_limit = 128M configuration. After increasing the size form 128M to 256M, mine was working fine.
But i think i should re design the webpage as php consuming this much memory is not good in long term. There will be better way to reduce it .
Subscribe to:
Posts (Atom)
tmux enabling mouse interaction
Add the below line to the ~/.tmux.conf setw -g mouse on save the file and exit from the tmux shell, you should be able to use your mouse to ...