Comments (3)
Hi Daniel,
Your fix is correct.
There are two points to note:
- the is much space for optimizing the memory footprint if the script (eg not loading all items at once but iterate over chunks)
- some upper bound was necessary for me to avoid killing my machine
Hope that helps.
Bye, Daniel
Am 01.10.2014 um 06:45 schrieb "Daniel W. Crompton" [email protected]:
My memory limit is currently set to memory_limit = -1 in my php.ini, however this is being overridden by the script ini_set('memory_limit', '200M'); Without this limit the script completes without issue.
Error Message:
PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 80214863 bytes) in /home/webhat/podio-backup/podio-php/lib/Podio.php on line 224
—
Reply to this email directly or view it on GitHub.
from podio-backup.
👍 great, just wanted to give you a heads up.
from podio-backup.
Thanks!
from podio-backup.
Related Issues (9)
- PHP Warnings HOT 6
- Allowed memory size of x bytes exhausted
- ERROR: ERROR: create a backup folder called 'backups' HOT 5
- Can script create the backup folder if it doesn't exist? HOT 1
- File names cutoff (maximum character length?) HOT 1
- If podio's app name is in Chinese, can not create Chinese folder name HOT 1
- Client Id error HOT 4
- Would it be possible to backup incrementally to the same folder? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podio-backup.