rampurearun Posted June 15, 2011 Share Posted June 15, 2011 Hi, I am trying to write result set data onto a .csv file but if data exceeds the limit of the file then it shows the error that allocated file size limit has exceeded and it is not writing further data how can I get rid of this thing please help me out...How can I extend the capacity of the file. Thank you in advance. Quote Link to comment Share on other sites More sharing options...
sunfighter Posted June 15, 2011 Share Posted June 15, 2011 Where is the error coming from? PHP doesn't limit files. I'm guessing it's coming from your operation system. Are you using Linux or Unix? Quote Link to comment Share on other sites More sharing options...
rampurearun Posted June 16, 2011 Author Share Posted June 16, 2011 I am using unix system and I am getting the following error : Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes) in C:\xampp\htdocs\newtask\task3.php on line 80 how can increase the this memory size ? Quote Link to comment Share on other sites More sharing options...
sunfighter Posted June 16, 2011 Share Posted June 16, 2011 rampurearun is have been far too long since I used Unix and I've never played with Linux :'( shame shame. All I remember is that they both have limitations on file size. You might want to repost this in the 'Web Server' section. Quote Link to comment Share on other sites More sharing options...
xylex Posted June 16, 2011 Share Posted June 16, 2011 That's not a file size error, that's a memory limit error. Search this forum for "memory limit", plenty written up about it. Quote Link to comment Share on other sites More sharing options...
rampurearun Posted June 17, 2011 Author Share Posted June 17, 2011 Thank you... Quote Link to comment Share on other sites More sharing options...
chintansshah Posted June 21, 2011 Share Posted June 21, 2011 Hello Rampurearun, You should make changes in php.ini to exceed max_execution_time, I think it will help it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.