Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Usage #823

Closed
vitaly-t opened this issue Feb 12, 2015 · 4 comments
Closed

Memory Usage #823

vitaly-t opened this issue Feb 12, 2015 · 4 comments

Comments

@vitaly-t
Copy link
Contributor

I'm still testing iojs vs nodejs in terms of memory consumption, without expecting much difference, but from what I see, even when you just run the process without any parameters, you get immediate difference:

NodeJS, 64-bit, Win 8.1 (0.10.36): 5.1MB
ioJS, 64-bit, Win 8.1: (1.2.0): 7.4MB

Is this a justifiable change in the initialization code to consume extra 45% of memory at start? Or is it something to be concerned about?

@Fishrock123
Copy link
Contributor

@VitalyTomilov can you compare against node 0.12? Most of the difference comes from the bumped v8 version, external memory allocation changes, etc, that were done in 0.11.x.

(besides, there are many reasons related to v8 itself that this sort of memory usage is a bad measurement of anything.)

@targos
Copy link
Member

targos commented Feb 12, 2015

node 0.12 consumes more memory than io.js ;)

@VitalyTomilov Do you plan to have so many iojs processes running at the same time that this initial difference becomes a problem?

@vitaly-t
Copy link
Contributor Author

Ok, Node 0.12.0 seems to consume initially 2% more memory than IO 1.2.0 - that's good 👍 Must be the latest V8 indeed.

I'm a newcomer here, dunno enough about the project yet. When I tried to do a change over for an existing project, I couldn't get GruntJS to install and work as expected, so had to roll back. Still don't know how to do that, and I got all my projects with Grunt JS. I know I digress, but any suggestions are welcome.

The question that troubles me most - if my app has a problem building under Node 0.12.0 (as opposed to 0.10.36), does this mean it will most likely have the same issue when using IO 1.2?

@Fishrock123
Copy link
Contributor

@VitalyTomilov correct. If your app runs on 0.12, it should run on io.js.

Are you getting any errors? I can take questions here, or in #io.js on freenode, but some output / code / something is most helpful. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants