Any body please help me out, am facing the following error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1704 bytes) in C:\xampp\htdocs\phpexcel\Classes\PHPExcel\Style\Borders.php on line 517

Recommended Answers

All 4 Replies

This means that your script is using more memory than the allowed. If you post the script maybe somebody will be able to help you.

Possible cause might be an endless loop. Check your for and while loops wheter they end as intended.

i increased the memory size in php.ini file...its solved thanks

When you don't have permission to modify php.ini, create a php.ini file like this:

safe_mode = Off
display_errors = Off
disable_functions = 
memory_limit = 128M

upload_max_filesize = 20M
post_max_size = 20M

then upload to directory in which some files show error like that(eg. admin folder) or simply to all folder ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.