FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » backups with low memory
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
backups with low memory [message #160235] Mon, 10 August 2009 16:35 Go to next message
dfgngirl is currently offline  dfgngirl   United States
Messages: 87
Registered: December 2005
Karma: 0
Member
add to buddy list
ignore all messages by this user
Hi,

is it possible to backup Fud with only 32mb of memory? As of my attempts both via the admin applet as well as the command-line my backups fail due to my hosting company's 32mb limit.

Is there a way for the script to use less memory and take more time? I'm obviously not familiar with memory allocation and so forth, so I understand this might not be possible.

Thanks.
Re: backups with low memory [message #160242 is a reply to message #160235] Tue, 11 August 2009 07:27 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Probably not. If you want you can try to add some unset() calls to the script to see if it would help.

This may also help to see how memory is allocated:
http://us3.php.net/manual/en/function.memory-get-usage.php
Re: backups with low memory [message #160243 is a reply to message #160235] Tue, 11 August 2009 10:56 Go to previous messageGo to next message
dfgngirl is currently offline  dfgngirl   United States
Messages: 87
Registered: December 2005
Karma: 0
Member
add to buddy list
ignore all messages by this user
OK thanks.
Re: backups with low memory [message #160244 is a reply to message #160243] Tue, 11 August 2009 12:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Something else to try: Edit "mem_limit.inc", find this line and reduce its value:
$GLOBALS['BUF_SIZE'] = 2000000;

Re: backups with low memory [message #160249 is a reply to message #160244] Tue, 11 August 2009 14:59 Go to previous messageGo to next message
dfgngirl is currently offline  dfgngirl   United States
Messages: 87
Registered: December 2005
Karma: 0
Member
add to buddy list
ignore all messages by this user
Thanks Frank, I'll try it.
Re: backups with low memory [message #160251 is a reply to message #160244] Tue, 11 August 2009 15:09 Go to previous message
dfgngirl is currently offline  dfgngirl   United States
Messages: 87
Registered: December 2005
Karma: 0
Member
add to buddy list
ignore all messages by this user
naudefj wrote on Tue, 11 August 2009 12:05
Something else to try: Edit "mem_limit.inc", find this line and reduce its value:
$GLOBALS['BUF_SIZE'] = 2000000;



I just realized that I don't know what to replace that value with. 2000000 would seem to me to be 2mb. Am I right? Bluehost limits its vhosts to 32mb. Would I be increasing that value to 32000000? But shouldn't I be directing fud to try to use less memory, not more?
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: RDF & RSS Samples
Next Topic: Please delete this
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 11 17:56:41 EST 2017

Total time taken to generate the page: 0.00666 seconds