PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Memory size error on intsall of Spreadsheet_Excel_Writer

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration
View previous topic :: View next topic  
Author Message
Captain Paralytic



Joined: 15 Apr 2008
Posts: 5

PostPosted: Tue Apr 15, 2008 12:42 am    Post subject: Memory size error on intsall of Spreadsheet_Excel_Writer Reply with quote

I am trying to install the PEAR packageSpreadsheet_Excel_Writer using the
command:
pear install Spreadsheet_Excel_Writer
and I'm getting the error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 35 bytes) in C:\wamp\php\PEAR\System.php on line 255

I've seen suggestions to use:
peardev install Spreadsheet_Excel_Writer
but that just seems to hang there.

Any suggestions please?
Back to top
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1011

PostPosted: Tue Apr 15, 2008 9:13 am    Post subject: Reply with quote

Increase the memory_limit setting in your php.ini and it will work.
Back to top
View user's profile Send private message
Captain Paralytic



Joined: 15 Apr 2008
Posts: 5

PostPosted: Tue Apr 15, 2008 10:54 am    Post subject: Reply with quote

mark wrote:
Increase the memory_limit setting in your php.ini and it will work.


It is already set at 100M

According to what I have read, pear.bat ignores the php.ini file.

peardev.bat is supposed to honour it, but peardev just seems to hang.
Back to top
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1011

PostPosted: Tue Apr 15, 2008 11:13 am    Post subject: Reply with quote

Captain Paralytic wrote:
mark wrote:
Increase the memory_limit setting in your php.ini and it will work.


It is already set at 100M

According to what I have read, pear.bat ignores the php.ini file.


It does read it, but you have to edit the right php.ini file. "pear config-show" will tell you the current setting of the "php_ini" setting. If it is empty, the default php.ini that the configured "php_bin" PHP interpreter uses will be used.
Back to top
View user's profile Send private message
Captain Paralytic



Joined: 15 Apr 2008
Posts: 5

PostPosted: Tue Apr 15, 2008 11:25 am    Post subject: Reply with quote

Cheers, I'll try it out
Back to top
View user's profile Send private message
Captain Paralytic



Joined: 15 Apr 2008
Posts: 5

PostPosted: Tue Apr 15, 2008 10:17 pm    Post subject: Reply with quote

I tried it and it stopped the memory size error. However it then behaved just like when I tried peardev. It just sat there. I left it for half an hour.

How long should it take to download and install?

Is there any way I can see what is happening?
Back to top
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1011

PostPosted: Tue Apr 15, 2008 10:32 pm    Post subject: Reply with quote

Captain Paralytic wrote:
I tried it and it stopped the memory size error. However it then behaved just like when I tried peardev.


Ah, indeed, peardev sets memory_limit to -1. Didn't knew about that.

Captain Paralytic wrote:
It just sat there. I left it for half an hour.

How long should it take to download and install?


Half an hour is too long, you should get at least some output in very short time (less than half a minute and that would already be long).

Captain Paralytic wrote:
Is there any way I can see what is happening?


pear help options => pear -v ...
Back to top
View user's profile Send private message
Captain Paralytic



Joined: 15 Apr 2008
Posts: 5

PostPosted: Tue Apr 15, 2008 11:56 pm    Post subject: Reply with quote

I had already tried that, got no output at all. When I press break I get

C:\wamp\php>pear -v install Spreadsheet_Excel_Writer
Error in my_thread_global_end(): 2 threads didn't exit
^CTerminate batch job (Y/N)?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software