Comments (3)
Realized the issue has to do with fs.readFile. Basically, this is maxing out the RAM on the server because it is storing all of the file contents within its RAM. It would make a lot more sense to send the file data over websockets.
from ringo.
Also, have chunk the response data. This is creating a lot of refactoring on the server end.
from ringo.
Refactored the server's code to use chunked responses. This should eliminate any issues with running out of RAM. Also should be a little faster. I've also refactored the frontend to accept the new type of response from the server. So far, it seems to work well.
from ringo.
Related Issues (20)
- Need to write a load balancer HOT 2
- Needs a nice intuitive, clear landing page HOT 1
- Need to streamline the installation process by getting rid of the code that is only relative to my own filesystem HOT 1
- Issues with initializing the Xcode helper scripts within build-projects directory during installation HOT 1
- Need to fix and localize all fonts HOT 1
- Need to set up Cloud Macs that'll scale to demand. HOT 1
- Need to write a script that cleans out the build-projects directory HOT 1
- /sandbox UI not consistent with /project UI HOT 1
- Needs better installation instructions HOT 1
- Projects with cocoapods don't compile HOT 1
- Ngrok module is still unreliable across different machines. HOT 1
- localtunnel.me unreliable HOT 1
- localtunnel is extremely unreliable -- switch back to ngrok HOT 1
- Appetize doesn't currently support Xcode 7 builds HOT 2
- Error reading from directory HOT 1
- Uncaught exception
- (node) warning: possible EventEmitter memory leak detected. 11 next listeners added. Use emitter.setMaxListeners() to increase limit. HOT 1
- Code cleanup HOT 1
- Need analytics for the back-end HOT 1
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 ringo.